item_ 431 base/containers/small_map_unittest.cc : item_(item_to_add) {} item_ 433 base/containers/small_map_unittest.cc : item_(0) {} item_ 435 base/containers/small_map_unittest.cc map_ctor->Init(std::make_pair(item_, item_)); item_ 438 base/containers/small_map_unittest.cc int item_; item_ 49 chrome/browser/download/all_download_item_notifier_unittest.cc content::MockDownloadItem& item() { return item_; } item_ 72 chrome/browser/download/all_download_item_notifier_unittest.cc NiceMock<content::MockDownloadItem> item_; item_ 146 chrome/browser/download/download_browsertest.cc : item_(item), item_ 150 chrome/browser/download/download_browsertest.cc item_->AddObserver(this); item_ 153 chrome/browser/download/download_browsertest.cc if (item_) item_ 154 chrome/browser/download/download_browsertest.cc item_->RemoveObserver(this); item_ 158 chrome/browser/download/download_browsertest.cc if (item_->GetState() == DownloadItem::COMPLETE) { item_ 159 chrome/browser/download/download_browsertest.cc return item_->PercentComplete() == 100; item_ 169 chrome/browser/download/download_browsertest.cc DCHECK_EQ(item_, item); item_ 171 chrome/browser/download/download_browsertest.cc ((prev_percent_ > item_->PercentComplete()) || item_ 172 chrome/browser/download/download_browsertest.cc (item_->GetState() == DownloadItem::COMPLETE && item_ 173 chrome/browser/download/download_browsertest.cc (item_->PercentComplete() != 100)))) { item_ 178 chrome/browser/download/download_browsertest.cc if (item_->GetState() == DownloadItem::COMPLETE && waiting_) item_ 183 chrome/browser/download/download_browsertest.cc DCHECK_EQ(item_, item); item_ 184 chrome/browser/download/download_browsertest.cc item_->RemoveObserver(this); item_ 185 chrome/browser/download/download_browsertest.cc item_ = NULL; item_ 188 chrome/browser/download/download_browsertest.cc content::DownloadItem* item_; item_ 61 chrome/browser/download/download_item_model_unittest.cc : model_(&item_) {} item_ 70 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetReceivedBytes()).WillByDefault(Return(1)); item_ 71 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetTotalBytes()).WillByDefault(Return(2)); item_ 72 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, TimeRemaining(_)).WillByDefault(Return(false)); item_ 73 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetMimeType()).WillByDefault(Return("text/html")); item_ 74 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, AllDataSaved()).WillByDefault(Return(false)); item_ 75 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetOpenWhenComplete()).WillByDefault(Return(false)); item_ 76 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetFileExternallyRemoved()).WillByDefault(Return(false)); item_ 77 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetState()) item_ 79 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetURL()) item_ 81 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetFileNameToReportUser()) item_ 83 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetTargetFilePath()) item_ 85 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, GetTargetDisposition()) item_ 88 chrome/browser/download/download_item_model_unittest.cc ON_CALL(item_, IsPaused()).WillByDefault(Return(false)); item_ 92 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item_, GetLastReason()).WillRepeatedly(Return(reason)); item_ 93 chrome/browser/download/download_item_model_unittest.cc EXPECT_CALL(item_, GetState()) item_ 101 chrome/browser/download/download_item_model_unittest.cc return item_; item_ 109 chrome/browser/download/download_item_model_unittest.cc NiceMock<content::MockDownloadItem> item_; item_ 665 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc explicit ScopedCancellingItem(DownloadItem* item) : item_(item) {} item_ 667 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item_->Cancel(true); item_ 669 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc item_, base::Bind(&ItemNotInProgress)); item_ 672 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* get() { return item_; } item_ 674 chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc DownloadItem* item_; item_ 42 chrome/browser/mac/security_wrappers.cc : item_(item), item_ 52 chrome/browser/mac/security_wrappers.cc CFRetain(item_); item_ 58 chrome/browser/mac/security_wrappers.cc : item_(that.item_.get()), item_ 61 chrome/browser/mac/security_wrappers.cc CFRetain(item_); item_ 70 chrome/browser/mac/security_wrappers.cc CFRetain(that.item_); item_ 71 chrome/browser/mac/security_wrappers.cc item_.reset(that.item_); item_ 44 chrome/browser/mac/security_wrappers.h SecKeychainItemRef item() const { return item_; } item_ 48 chrome/browser/mac/security_wrappers.h base::ScopedCFTypeRef<SecKeychainItemRef> item_; item_ 286 chrome/browser/safe_browsing/download_protection_service.cc : item_(item), item_ 302 chrome/browser/safe_browsing/download_protection_service.cc item_->AddObserver(this); item_ 307 chrome/browser/safe_browsing/download_protection_service.cc << item_->DebugString(true); item_ 314 chrome/browser/safe_browsing/download_protection_service.cc *item_, item_->GetTargetFilePath(), &reason, &type_)) { item_ 322 chrome/browser/safe_browsing/download_protection_service.cc RecordFileExtensionType(item_->GetTargetFilePath()); item_ 331 chrome/browser/safe_browsing/download_protection_service.cc RecordFileExtensionType(item_->GetTargetFilePath()); item_ 336 chrome/browser/safe_browsing/download_protection_service.cc if (item_->GetTargetFilePath().MatchesExtension( item_ 341 chrome/browser/safe_browsing/download_protection_service.cc item_->GetTargetFilePath())); item_ 385 chrome/browser/safe_browsing/download_protection_service.cc DCHECK(item_ == NULL); item_ 393 chrome/browser/safe_browsing/download_protection_service.cc << item_->GetUrlChain().back() << ": success=" item_ 417 chrome/browser/safe_browsing/download_protection_service.cc *item_, item_->GetTargetFilePath())) { item_ 443 chrome/browser/safe_browsing/download_protection_service.cc result, item_, client_download_request_data_, data); item_ 480 chrome/browser/safe_browsing/download_protection_service.cc DCHECK(item_ == NULL); item_ 505 chrome/browser/safe_browsing/download_protection_service.cc DCHECK(item_); // Called directly from Start(), item should still exist. item_ 511 chrome/browser/safe_browsing/download_protection_service.cc this, item_->GetFullPath()), item_ 539 chrome/browser/safe_browsing/download_protection_service.cc DCHECK(item_); // Called directly from Start(), item should still exist. item_ 544 chrome/browser/safe_browsing/download_protection_service.cc item_->GetFullPath(), item_ 556 chrome/browser/safe_browsing/download_protection_service.cc VLOG(1) << "Zip analysis finished for " << item_->GetFullPath().value() item_ 560 chrome/browser/safe_browsing/download_protection_service.cc VLOG(1) << "Zip analysis failed for " << item_->GetFullPath().value(); item_ 628 chrome/browser/safe_browsing/download_protection_service.cc Profile* profile = Profile::FromBrowserContext(item_->GetBrowserContext()); item_ 670 chrome/browser/safe_browsing/download_protection_service.cc request.set_url(item_->GetUrlChain().back().spec()); item_ 671 chrome/browser/safe_browsing/download_protection_service.cc request.mutable_digests()->set_sha256(item_->GetHash()); item_ 672 chrome/browser/safe_browsing/download_protection_service.cc request.set_length(item_->GetReceivedBytes()); item_ 673 chrome/browser/safe_browsing/download_protection_service.cc for (size_t i = 0; i < item_->GetUrlChain().size(); ++i) { item_ 675 chrome/browser/safe_browsing/download_protection_service.cc resource->set_url(item_->GetUrlChain()[i].spec()); item_ 676 chrome/browser/safe_browsing/download_protection_service.cc if (i == item_->GetUrlChain().size() - 1) { item_ 679 chrome/browser/safe_browsing/download_protection_service.cc resource->set_referrer(item_->GetReferrerUrl().spec()); item_ 681 chrome/browser/safe_browsing/download_protection_service.cc if (!item_->GetRemoteAddress().empty()) { item_ 682 chrome/browser/safe_browsing/download_protection_service.cc resource->set_remote_ip(item_->GetRemoteAddress()); item_ 710 chrome/browser/safe_browsing/download_protection_service.cc request.set_user_initiated(item_->HasUserGesture()); item_ 712 chrome/browser/safe_browsing/download_protection_service.cc item_->GetTargetFilePath().BaseName().AsUTF8Unsafe()); item_ 722 chrome/browser/safe_browsing/download_protection_service.cc << item_->GetUrlChain().back(); item_ 758 chrome/browser/safe_browsing/download_protection_service.cc << item_->DebugString(true) << " verdict:" << reason; item_ 763 chrome/browser/safe_browsing/download_protection_service.cc item_->RemoveObserver(this); item_ 764 chrome/browser/safe_browsing/download_protection_service.cc item_ = NULL; item_ 818 chrome/browser/safe_browsing/download_protection_service.cc content::DownloadItem* item_; item_ 44 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_(*item), item_ 59 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_(*item), item_ 72 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_(ash::ShelfItem()), item_ 90 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (item_.type == ash::TYPE_APP_SHORTCUT || item_ 91 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_.type == ash::TYPE_WINDOWED_APP) { item_ 93 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (!controller_->IsPlatformApp(item_.id)) { item_ 99 chrome/browser/ui/ash/launcher/launcher_context_menu.cc l10n_util::GetStringUTF16(controller_->IsPinned(item_.id) ? item_ 102 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (controller_->IsOpen(item_.id)) { item_ 106 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (!controller_->IsPlatformApp(item_.id) && item_ 107 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_.type != ash::TYPE_WINDOWED_APP) { item_ 134 chrome/browser/ui/ash/launcher/launcher_context_menu.cc } else if (item_.type == ash::TYPE_BROWSER_SHORTCUT) { item_ 141 chrome/browser/ui/ash/launcher/launcher_context_menu.cc } else if (item_.type == ash::TYPE_DIALOG) { item_ 145 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (item_.type == ash::TYPE_PLATFORM_APP) { item_ 150 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (controller_->IsOpen(item_.id)) { item_ 156 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (item_.type == ash::TYPE_APP_SHORTCUT || item_ 157 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_.type == ash::TYPE_WINDOWED_APP || item_ 158 chrome/browser/ui/ash/launcher/launcher_context_menu.cc item_.type == ash::TYPE_PLATFORM_APP) { item_ 160 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->GetAppIDForShelfID(item_.id)); item_ 198 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (item_.type == ash::TYPE_PLATFORM_APP) { item_ 201 chrome/browser/ui/ash/launcher/launcher_context_menu.cc switch (controller_->GetLaunchType(item_.id)) { item_ 220 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return controller_->GetLaunchType(item_.id) == item_ 223 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return controller_->GetLaunchType(item_.id) == item_ 226 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return controller_->GetLaunchType(item_.id) == item_ 229 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return controller_->GetLaunchType(item_.id) == item_ 242 chrome/browser/ui/ash/launcher/launcher_context_menu.cc return controller_->IsPinnable(item_.id); item_ 272 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->Launch(item_.id, ui::EF_NONE); item_ 275 chrome/browser/ui/ash/launcher/launcher_context_menu.cc if (item_.type == ash::TYPE_DIALOG) { item_ 280 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->Close(item_.id); item_ 286 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->TogglePinned(item_.id); item_ 289 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->SetLaunchType(item_.id, extensions::LAUNCH_TYPE_PINNED); item_ 298 chrome/browser/ui/ash/launcher/launcher_context_menu.cc launch_type = controller_->GetLaunchType(item_.id) == item_ 303 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->SetLaunchType(item_.id, launch_type); item_ 307 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->SetLaunchType(item_.id, extensions::LAUNCH_TYPE_WINDOW); item_ 310 chrome/browser/ui/ash/launcher/launcher_context_menu.cc controller_->SetLaunchType(item_.id, extensions::LAUNCH_TYPE_FULLSCREEN); item_ 53 chrome/browser/ui/ash/launcher/launcher_context_menu.h ash::ShelfID id() const { return item_.id; } item_ 95 chrome/browser/ui/ash/launcher/launcher_context_menu.h bool is_valid_item() const { return item_.id != 0; } item_ 99 chrome/browser/ui/ash/launcher/launcher_context_menu.h ash::ShelfItem item_; item_ 50 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h base::scoped_nsobject<NSStatusItem> item_; item_ 51 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc item_(item), item_ 79 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) item_ 100 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) item_ 108 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) item_ 120 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) item_ 132 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) item_ 202 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) { item_ 203 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc const SkBitmap* avatar_image = item_.icon.ToSkBitmap(); item_ 218 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc avatar_pixbuf = gfx::GdkPixbufFromSkBitmap(*item_.icon.ToSkBitmap()); item_ 229 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc base::string16 elided_name = gfx::ElideText(item_.name, item_ 236 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) { item_ 251 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc base::UTF16ToUTF8(item_.sync_state).c_str()); item_ 259 chrome/browser/ui/gtk/avatar_menu_item_gtk.cc if (item_.active) { item_ 76 chrome/browser/ui/gtk/avatar_menu_item_gtk.h AvatarMenu::Item item_; item_ 233 chrome/browser/ui/views/avatar_menu_bubble_view.cc const AvatarMenu::Item& item() const { return item_; } item_ 241 chrome/browser/ui/views/avatar_menu_bubble_view.cc AvatarMenu::Item item_; item_ 256 chrome/browser/ui/views/avatar_menu_bubble_view.cc item_(item), item_ 262 chrome/browser/ui/views/avatar_menu_bubble_view.cc gfx::ImageSkia profile_icon = *item_.icon.ToImageSkia(); item_ 263 chrome/browser/ui/views/avatar_menu_bubble_view.cc if (item_.active || item_.signin_required) item_ 271 chrome/browser/ui/views/avatar_menu_bubble_view.cc name_label_ = new views::Label(item_.name, item_ 272 chrome/browser/ui/views/avatar_menu_bubble_view.cc rb->GetFontList(item_.active ? item_ 279 chrome/browser/ui/views/avatar_menu_bubble_view.cc sync_state_label_ = new views::Label(item_.sync_state); item_ 280 chrome/browser/ui/views/avatar_menu_bubble_view.cc if (item_.signed_in) item_ 310 chrome/browser/ui/views/avatar_menu_bubble_view.cc if (item_.active) { item_ 372 chrome/browser/ui/views/avatar_menu_bubble_view.cc bool show_edit = IsHighlighted() && item_.active && item_ 390 chrome/browser/ui/views/avatar_menu_bubble_view.cc if (item_.active) item_ 392 chrome/browser/ui/views/avatar_menu_bubble_view.cc else if (item_.signin_required) // TODO(bcwhite): create new icon item_ 445 content/browser/download/download_browsertest.cc item_(NULL), item_ 464 content/browser/download/download_browsertest.cc if (!item_) item_ 465 content/browser/download/download_browsertest.cc item_ = download; item_ 473 content/browser/download/download_browsertest.cc if (!item_) { item_ 478 content/browser/download/download_browsertest.cc return item_; item_ 483 content/browser/download/download_browsertest.cc DownloadItem* item_; item_ 114 content/browser/download/download_item_impl_unittest.cc : item_(item), item_ 121 content/browser/download/download_item_impl_unittest.cc item_->AddObserver(this); item_ 125 content/browser/download/download_item_impl_unittest.cc if (item_) item_->RemoveObserver(this); item_ 159 content/browser/download/download_item_impl_unittest.cc item_->RemoveObserver(this); item_ 160 content/browser/download/download_item_impl_unittest.cc item_ = NULL; item_ 186 content/browser/download/download_item_impl_unittest.cc DownloadItem* item_; item_ 23 content/public/test/download_test_observer.cc : item_(item), item_ 31 content/public/test/download_test_observer.cc if (item_) item_ 32 content/public/test/download_test_observer.cc item_->RemoveObserver(this); item_ 36 content/public/test/download_test_observer.cc if (item_ && filter_.Run(item_)) item_ 48 content/public/test/download_test_observer.cc DCHECK_EQ(item_, item); item_ 49 content/public/test/download_test_observer.cc if (filter_.Run(item_)) item_ 56 content/public/test/download_test_observer.cc DCHECK_EQ(item_, item); item_ 57 content/public/test/download_test_observer.cc item_->RemoveObserver(this); item_ 58 content/public/test/download_test_observer.cc item_ = NULL; item_ 43 content/public/test/download_test_observer.h DownloadItem* item_; item_ 56 tools/gn/builder_record.h Item* item() { return item_.get(); } item_ 57 tools/gn/builder_record.h const Item* item() const { return item_.get(); } item_ 58 tools/gn/builder_record.h void set_item(scoped_ptr<Item> item) { item_ = item.Pass(); } item_ 77 tools/gn/builder_record.h return item_ && unresolved_deps_.empty(); item_ 100 tools/gn/builder_record.h scoped_ptr<Item> item_; item_ 127 tools/gn/trace.cc : item_(NULL), item_ 130 tools/gn/trace.cc item_ = new TraceItem(t, name, base::PlatformThread::CurrentId()); item_ 131 tools/gn/trace.cc item_->set_begin(base::TimeTicks::HighResNow()); item_ 136 tools/gn/trace.cc : item_(NULL), item_ 139 tools/gn/trace.cc item_ = new TraceItem(t, label.GetUserVisibleName(false), item_ 141 tools/gn/trace.cc item_->set_begin(base::TimeTicks::HighResNow()); item_ 150 tools/gn/trace.cc if (item_) item_ 151 tools/gn/trace.cc item_->set_toolchain(label.GetUserVisibleName(false)); item_ 155 tools/gn/trace.cc if (item_) item_ 156 tools/gn/trace.cc item_->set_cmdline(FilePathToUTF8(cmdline.GetArgumentsString())); item_ 163 tools/gn/trace.cc item_->set_end(base::TimeTicks::HighResNow()); item_ 164 tools/gn/trace.cc AddTrace(item_); item_ 78 tools/gn/trace.h TraceItem* item_; item_ 60 ui/app_list/views/app_list_item_view.cc item_(item), item_ 75 ui/app_list/views/app_list_item_view.cc title_->SetVisible(!item_->is_installing()); item_ 90 ui/app_list/views/app_list_item_view.cc item_->AddObserver(this); item_ 99 ui/app_list/views/app_list_item_view.cc item_->RemoveObserver(this); item_ 115 ui/app_list/views/app_list_item_view.cc gfx::ImageSkia icon = item_->icon(); item_ 124 ui/app_list/views/app_list_item_view.cc if (item_->has_shadow()) { item_ 136 ui/app_list/views/app_list_item_view.cc std::string display_name = item_->GetDisplayName(); item_ 137 ui/app_list/views/app_list_item_view.cc title_->SetTooltipText(display_name == item_->name() ? base::string16() item_ 138 ui/app_list/views/app_list_item_view.cc : base::UTF8ToUTF16(item_->name())); item_ 150 ui/app_list/views/app_list_item_view.cc title_->SetVisible(!item_->is_installing()); item_ 151 ui/app_list/views/app_list_item_view.cc progress_bar_->SetVisible(item_->is_installing()); item_ 230 ui/app_list/views/app_list_item_view.cc title_->SetText(base::UTF8ToUTF16(item_->GetDisplayName())); item_ 234 ui/app_list/views/app_list_item_view.cc SetAccessibleName(base::UTF8ToUTF16(item_->name())); item_ 244 ui/app_list/views/app_list_item_view.cc if (item_->is_installing()) item_ 246 ui/app_list/views/app_list_item_view.cc title_->SetVisible(!item_->is_installing()); item_ 247 ui/app_list/views/app_list_item_view.cc progress_bar_->SetVisible(item_->is_installing()); item_ 255 ui/app_list/views/app_list_item_view.cc if (item_->percent_downloaded() == -1) item_ 257 ui/app_list/views/app_list_item_view.cc progress_bar_->SetValue(item_->percent_downloaded() / 100.0); item_ 293 ui/app_list/views/app_list_item_view.cc if (item_->highlighted() && !item_->is_installing()) { item_ 321 ui/app_list/views/app_list_item_view.cc ui::MenuModel* menu_model = item_->GetContextMenuModel(); item_ 346 ui/app_list/views/app_list_item_view.cc item_->SetHighlighted(false); item_ 56 ui/app_list/views/app_list_item_view.h AppListItem* item() const { return item_; } item_ 126 ui/app_list/views/app_list_item_view.h AppListItem* item_; // Owned by AppListModel. item_ 53 ui/app_list/views/app_list_main_view.cc item_->AddObserver(this); item_ 56 ui/app_list/views/app_list_main_view.cc item_->icon().GetRepresentation(scale); item_ 60 ui/app_list/views/app_list_main_view.cc item_->RemoveObserver(this); item_ 75 ui/app_list/views/app_list_main_view.cc AppListItem* item_;