Home
last modified time | relevance | path

Searched refs:tracker_ (Results 1 – 25 of 87) sorted by relevance

1234

/external/chromium_org/chrome/browser/extensions/
Dinstall_tracker_unittest.cc51 tracker_.reset(new InstallTracker(profile_.get(), NULL)); in InstallTrackerTest()
58 InstallTracker* tracker() { return tracker_.get(); } in tracker()
68 scoped_ptr<InstallTracker> tracker_; member in InstallTrackerTest
78 tracker_->AddActiveInstall(install_data1); in TEST_F()
79 tracker_->AddActiveInstall(install_data2); in TEST_F()
82 tracker_->GetActiveInstall(kExtensionId1); in TEST_F()
84 tracker_->GetActiveInstall(kExtensionId2); in TEST_F()
86 tracker_->GetActiveInstall(kExtensionId3); in TEST_F()
95 tracker_->RemoveActiveInstall(kExtensionId1); in TEST_F()
96 EXPECT_FALSE(tracker_->GetActiveInstall(kExtensionId1)); in TEST_F()
[all …]
Dactive_install_data.cc25 : tracker_(tracker), in ScopedActiveInstall()
29 tracker_->AddActiveInstall(install_data); in ScopedActiveInstall()
34 : tracker_(tracker), tracker_observer_(this), extension_id_(extension_id) { in ScopedActiveInstall()
39 if (tracker_) in ~ScopedActiveInstall()
40 tracker_->RemoveActiveInstall(extension_id_); in ~ScopedActiveInstall()
45 tracker_ = NULL; in CancelDeregister()
50 DCHECK(tracker_); in Init()
51 tracker_observer_.Add(tracker_); in Init()
/external/chromium_org/storage/browser/fileapi/
Dtimed_task_helper.cc18 timer->tracker_ = NULL; in ~Tracker()
26 tracker_(NULL) { in TimedTaskHelper()
31 if (tracker_) in ~TimedTaskHelper()
32 tracker_->timer = NULL; in ~TimedTaskHelper()
37 return tracker_ != NULL; in IsRunning()
55 if (tracker_) in Reset()
59 tracker_ = new Tracker(this); in Reset()
60 PostDelayedTask(make_scoped_ptr(tracker_), delay_); in Reset()
/external/chromium_org/sync/test/
Dtrackable_mock_invalidation.cc18 tracker_(tracker), in TrackableMockInvalidation()
26 if (tracker_) { in Acknowledge()
27 tracker_->Acknowledge(tracking_id_); in Acknowledge()
32 if (tracker_) { in Drop()
33 tracker_->Drop(tracking_id_); in Drop()
/external/chromium_org/chrome/browser/resources/print_preview/data/
Dinvitation_store.js40 this.tracker_ = new EventTracker();
104 this.tracker_.add(
108 this.tracker_.add(
112 this.tracker_.add(
116 this.tracker_.add(
Ddestination_store.js83 this.tracker_ = new EventTracker();
351 this.tracker_.add(
355 this.tracker_.add(
359 this.tracker_.add(
363 this.tracker_.add(
367 this.tracker_.add(
657 this.tracker_.add(
661 this.tracker_.add(
665 this.tracker_.add(
669 this.tracker_.add(
[all …]
/external/chromium_org/components/web_modal/
Dweb_contents_modal_dialog_manager_unittest.cc51 tracker_(tracker) { in TestNativeWebContentsModalDialogManager()
52 if (tracker_) in TestNativeWebContentsModalDialogManager()
53 tracker_->SetState(NativeManagerTracker::NOT_SHOWN); in TestNativeWebContentsModalDialogManager()
57 if (tracker_) in Show()
58 tracker_->SetState(NativeManagerTracker::SHOWN); in Show()
61 if (tracker_) in Hide()
62 tracker_->SetState(NativeManagerTracker::HIDDEN); in Hide()
65 if (tracker_) in Close()
66 tracker_->SetState(NativeManagerTracker::CLOSED); in Close()
80 tracker_ = NULL; in StopTracking()
[all …]
/external/chromium_org/chrome/browser/resources/print_preview/data/ticket_items/
Dticket_item.js70 this.tracker_ = new EventTracker();
174 return this.tracker_;
219 this.tracker_.add(
226 this.tracker_.add(
/external/chromium_org/chrome/browser/rlz/
Drlz_unittest.cc183 TestRLZTracker tracker_; member in RlzLibTest
247 tracker_.Observe(chrome::NOTIFICATION_OMNIBOX_OPENED_URL, in SimulateOmniboxUsage()
256 tracker_.Observe(content::NOTIFICATION_NAV_ENTRY_PENDING, in SimulateHomepageUsage()
266 tracker_.DelayedInit(); in InvokeDelayedInit()
282 EXPECT_EQ(expected, tracker_.was_ping_sent_for_brand(brand.c_str())); in ExpectRlzPingSent()
288 EXPECT_EQ(expected, tracker_.was_ping_sent_for_brand(brand.c_str())); in ExpectReactivationRlzPingSent()
744 tracker_.set_assume_not_ui_thread(true); in TEST_F()
755 tracker_.set_assume_not_ui_thread(false); in TEST_F()
766 tracker_.set_assume_not_ui_thread(false); in TEST_F()
770 tracker_.set_assume_not_ui_thread(true); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/resources/print_preview/
Dpreview_generator.js128 this.tracker_ = new EventTracker();
199 this.tracker_.removeAll();
207 this.tracker_.add(
211 this.tracker_.add(
215 this.tracker_.add(
219 this.tracker_.add(
223 this.tracker_.add(
Dcomponent.js30 this.tracker_ = new EventTracker();
50 return this.tracker_;
90 this.tracker_.removeAll();
/external/chromium_org/athena/wm/
Dtitle_drag_controller.cc61 if (!tracker_.Contains(window)) in OnTransitionEnd()
66 tracker_.Remove(window); in OnTransitionEnd()
85 if (!tracker_.windows().empty()) in OnGestureEvent()
96 tracker_.Add(window); in OnGestureEvent()
103 if (!tracker_.Contains(window)) in OnGestureEvent()
/external/chromium_org/chrome/browser/prerender/
Dprerender_pending_swap_throttle.cc23 tracker_(tracker), in PrerenderPendingSwapThrottle()
40 if (!tracker_->IsPendingSwapRequestOnIOThread( in WillStartRequest()
47 tracker_->AddPendingSwapThrottleOnIOThread( in WillStartRequest()
/external/chromium_org/chrome/browser/history/android/
Dsqlite_cursor.cc170 tracker_.reset(); in DestroyOnUIThread()
207 if (!tracker_.get()) in GetFaviconForIDInUIThread()
208 tracker_.reset(new base::CancelableTaskTracker()); in GetFaviconForIDInUIThread()
209 favicon_service_->GetLargestRawFaviconForID(id, callback, tracker_.get()); in GetFaviconForIDInUIThread()
237 if (!tracker_.get()) in RunMoveStatementOnUIThread()
238 tracker_.reset(new base::CancelableTaskTracker()); in RunMoveStatementOnUIThread()
244 tracker_.get()); in RunMoveStatementOnUIThread()
/external/chromium_org/mojo/services/test_service/
Dtest_request_tracker_client_impl.cc17 tracker_(tracker.Pass()), in TestRequestTrackerClientImpl()
19 tracker_.set_client(this); in TestRequestTrackerClientImpl()
36 tracker_->RecordStats(id_, stats.Pass()); in SendStats()
/external/chromium_org/chrome/browser/ui/app_list/
Dextension_app_model_builder.cc42 tracker_(NULL), in ExtensionAppModelBuilder()
233 if (tracker_) { in OnShutdown()
234 tracker_->RemoveObserver(this); in OnShutdown()
235 tracker_ = NULL; in OnShutdown()
265 DCHECK(!tracker_); in BuildModel()
266 tracker_ = controller_->GetInstallTrackerFor(profile_); in BuildModel()
273 if (tracker_) in BuildModel()
274 tracker_->AddObserver(this); in BuildModel()
/external/chromium_org/content/browser/media/capture/
Dweb_contents_audio_input_stream.cc101 const scoped_refptr<WebContentsTracker> tracker_; member in content::WebContentsAudioInputStream::Impl
128 tracker_(tracker), in Impl()
134 DCHECK(tracker_.get()); in Impl()
156 tracker_->Start( in Open()
212 tracker_->Stop(); in Close()
253 WebContents* const contents = tracker_->web_contents(); in UnmuteWebContentsAudio()
276 WebContents* const contents = tracker_->web_contents(); in QueryForMatchesOnUIThread()
Dweb_contents_video_capture_device.cc280 const scoped_refptr<WebContentsTracker> tracker_; member in content::__anon8740c5e80111::WebContentsCaptureMachine
541 tracker_(new WebContentsTracker(true)), in WebContentsCaptureMachine()
570 tracker_->Start(initial_render_process_id_, initial_main_render_frame_id_, in Start()
592 tracker_->Stop(); in Stop()
611 RenderWidgetHost* rwh = tracker_->GetTargetRenderWidgetHost(); in Capture()
665 RenderWidgetHost* const rwh = tracker_->GetTargetRenderWidgetHost(); in ComputeOptimalTargetSize()
739 if (had_subscription && tracker_->web_contents()) in RenewFrameSubscription()
740 tracker_->web_contents()->DecrementCapturerCount(); in RenewFrameSubscription()
749 if (!had_subscription && tracker_->web_contents()) { in RenewFrameSubscription()
750 tracker_->web_contents()->IncrementCapturerCount( in RenewFrameSubscription()
/external/chromium_org/chrome/browser/browsing_data/
Dbrowsing_data_database_helper.cc42 tracker_(BrowserContext:: in BrowsingDataDatabaseHelper()
76 if (tracker_.get() && tracker_->GetAllOriginsInfo(&origins_info)) { in FetchDatabaseInfoOnFileThread()
92 tracker_->GetFullDBFilePath(ori->GetOriginIdentifier(), *db); in FetchDatabaseInfoOnFileThread()
124 if (!tracker_.get()) in DeleteDatabaseOnFileThread()
126 tracker_->DeleteDatabase(origin, base::UTF8ToUTF16(name), in DeleteDatabaseOnFileThread()
/external/chromium_org/chrome/browser/signin/
Dsignin_tracker_unittest.cc69 tracker_ = in SetUp()
73 tracker_.reset(); in TearDown()
78 scoped_ptr<SigninTracker> tracker_; member in SigninTrackerTest
/external/chromium_org/ppapi/shared_impl/
Dtracked_callback.cc60 tracker_ = PpapiGlobals::Get()->GetCallbackTrackerForInstance( in TrackedCallback()
62 tracker_->Add(make_scoped_refptr(this)); in TrackedCallback()
238 tracker_->Remove(thiz); in MarkAsCompleted()
239 tracker_ = NULL; in MarkAsCompleted()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/
Dcallback_tracker_internal.cc14 : tracker_(tracker), weak_ptr_factory_(this) { in AbortHelper()
29 abort_helper->tracker_->PassAbortHelper(abort_helper.get()); in TakeOwnership()
/external/chromium_org/chrome/browser/services/gcm/
Dgcm_account_tracker_unittest.cc70 GCMAccountTracker* tracker() { return tracker_.get(); } in tracker()
80 scoped_ptr<GCMAccountTracker> tracker_; member in gcm::GCMAccountTrackerTest
95 tracker_.reset(new GCMAccountTracker( in GCMAccountTrackerTest()
102 if (tracker_) in ~GCMAccountTrackerTest()
103 tracker_->Shutdown(); in ~GCMAccountTrackerTest()
/external/chromium_org/net/base/
Daddress_tracker_linux_unittest.cc41 tracker_.reset(new AddressTrackerLinux(base::Bind(&base::DoNothing), in InitializeAddressTracker()
45 tracker_.reset(new AddressTrackerLinux()); in InitializeAddressTracker()
47 original_get_interface_name_ = tracker_->get_interface_name_; in InitializeAddressTracker()
48 tracker_->get_interface_name_ = TestGetInterfaceName; in InitializeAddressTracker()
56 tracker_->HandleMessage(&writable_buf[0], buf.size(), in HandleAddressMessage()
67 tracker_->HandleMessage(&writable_buf[0], buf.size(), in HandleLinkMessage()
78 tracker_->HandleMessage(&writable_buf[0], buf.size(), in HandleTunnelMessage()
85 return tracker_->GetAddressMap(); in GetAddressMap()
89 return tracker_->GetOnlineLinks(); in GetOnlineLinks()
92 scoped_ptr<AddressTrackerLinux> tracker_; member in net::internal::AddressTrackerLinuxTest
/external/chromium_org/mojo/services/view_manager/
Dview_manager_unittest.cc56 : tracker_(tracker), in ViewManagerProxy()
86 if (tracker_->changes()->size() >= count) { in DoRunLoopUntilChangesCount()
90 quit_count_ = count - tracker_->changes()->size(); in DoRunLoopUntilChangesCount()
106 tracker_->changes()->clear(); in ClearChanges()
111 tracker_->changes()->swap(changes); in CopyChangesFromTracker()
288 TestChangeTracker* tracker_; member in mojo::service::__anonb63946450111::ViewManagerProxy
317 TestViewManagerClientConnection() : connection_(&tracker_) { in TestViewManagerClientConnection()
318 tracker_.set_delegate(&connection_); in TestViewManagerClientConnection()
333 tracker_.OnEmbed(connection_id, creator_url, root.Pass()); in OnEmbed()
338 tracker_.OnViewBoundsChanged(view_id, old_bounds.Pass(), new_bounds.Pass()); in OnViewBoundsChanged()
[all …]

1234