Home
last modified time | relevance | path

Searched refs:helper_ (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium/chrome/browser/sessions/
Dsession_service_unittest.cc47 helper_.set_service(session_service); in SetUp()
62 helper_.set_service(NULL); in TearDown()
86 helper_.set_service(NULL); in ReadWindows()
89 helper_.set_service(session_service); in ReadWindows()
90 helper_.ReadWindows(windows); in ReadWindows()
104 helper_.PrepareTabInWindow(window_id, tab_id, 0, true); in CreateAndWriteSessionWithOneTab()
108 helper_.service()->SetPinnedState(window_id, tab_id, pinned_state); in CreateAndWriteSessionWithOneTab()
121 helper_.AssertTabEquals(window_id, tab_id, 0, 0, 1, *tab); in CreateAndWriteSessionWithOneTab()
126 SessionService* service() { return helper_.service(); } in service()
128 SessionBackend* backend() { return helper_.backend(); } in backend()
[all …]
/external/chromium/chrome/browser/
Djankometer.cc220 : helper_(thread_name, excessive_duration, watchdog_enable) {} in IOJankObserver()
239 if (!helper_.MessageWillBeMeasured()) in WillProcessIOEvent()
241 helper_.StartProcessingTimers(base::TimeDelta()); in WillProcessIOEvent()
245 helper_.EndProcessingTimers(); in DidProcessIOEvent()
249 if (!helper_.MessageWillBeMeasured()) in WillProcessTask()
253 helper_.StartProcessingTimers(queueing_time); in WillProcessTask()
257 helper_.EndProcessingTimers(); in DidProcessTask()
263 JankObserverHelper helper_; member in __anon90689a2c0111::IOJankObserver
276 : helper_(thread_name, excessive_duration, watchdog_enable) {} in UIJankObserver()
295 if (!helper_.MessageWillBeMeasured()) in WillProcessTask()
[all …]
/external/chromium/chrome/browser/net/
Dresolve_proxy_msg_helper_unittest.cc42 helper_(new ResolveProxyMsgHelper(service_.get())), in ResolveProxyMsgHelperTest()
46 helper_->OnFilterAdded(&test_sink_); in ResolveProxyMsgHelperTest()
65 scoped_refptr<ResolveProxyMsgHelper> helper_; member in ResolveProxyMsgHelperTest
99 helper_->OnResolveProxy(url1, msg1); in TEST_F()
114 helper_->OnResolveProxy(url2, msg2); in TEST_F()
126 helper_->OnResolveProxy(url3, msg3); in TEST_F()
152 helper_->OnResolveProxy(url1, msg1); in TEST_F()
157 helper_->OnResolveProxy(url2, msg2); in TEST_F()
158 helper_->OnResolveProxy(url3, msg3); in TEST_F()
210 helper_->OnResolveProxy(url1, msg1); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_name_folder_controller_unittest.mm18 BrowserTestHelper helper_;
24 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
31 profile:helper_.profile()
54 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
67 profile:helper_.profile()
84 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
91 profile:helper_.profile()
105 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
112 profile:helper_.profile()
125 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
[all …]
Dbookmark_menu_cocoa_controller_unittest.mm15 BrowserTestHelper* helper_; field
29 helper_ = new BrowserTestHelper();
30 BookmarkModel* model = helper_->browser()->profile()->GetBookmarkModel();
39 delete helper_;
Dbookmark_all_tabs_controller_unittest.mm38 BrowserTestHelper helper_;
44 BookmarkModel& model(*(helper_.profile()->GetBookmarkModel()));
55 profile:helper_.profile()
Dbookmark_bar_controller_unittest.mm267 BrowserTestHelper helper_;
273 helper_.profile()->CreateExtensionService(CommandLine::ForCurrentProcess(),
314 initWithBrowser:helper_.browser()
334 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
505 initWithBrowser:helper_.browser()
522 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
555 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
605 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
696 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
781 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
[all …]
Dbookmark_button_unittest.mm74 BrowserTestHelper helper_;
91 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
132 BrowserTestHelper helper_;
144 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
Dbookmark_model_observer_for_cocoa_unittest.mm31 BrowserTestHelper helper_;
41 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
Dbookmark_button_cell_unittest.mm41 BrowserTestHelper helper_;
97 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
110 BookmarkModel& model(*(helper_.profile()->GetBookmarkModel()));
159 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
Dbookmark_bar_folder_controller_unittest.mm126 BrowserTestHelper helper_;
132 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
157 initWithBrowser:helper_.browser()
176 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
184 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
292 BookmarkModel* model = helper_.profile()->GetBookmarkModel();
644 BrowserTestHelper helper_;
655 initWithBrowser:helper_.browser()
683 BookmarkModel& model(*helper_.profile()->GetBookmarkModel());
756 BookmarkModel& model(*helper_.profile()->GetBookmarkModel());
[all …]
/external/chromium/net/socket/
Dclient_socket_pool_base.h643 helper_(max_sockets, max_sockets_per_group, in ClientSocketPoolBase()
672 return helper_.RequestSocket(group_name, request); in RequestSocket()
697 helper_.RequestSockets(group_name, request, num_sockets); in RequestSockets()
702 return helper_.CancelRequest(group_name, handle); in CancelRequest()
707 return helper_.ReleaseSocket(group_name, socket, id); in ReleaseSocket()
710 void CloseIdleSockets() { return helper_.CloseIdleSockets(); } in CloseIdleSockets()
712 int idle_socket_count() const { return helper_.idle_socket_count(); } in idle_socket_count()
715 return helper_.IdleSocketCountInGroup(group_name); in IdleSocketCountInGroup()
720 return helper_.GetLoadState(group_name, handle); in GetLoadState()
724 return helper_.OnConnectJobComplete(result, job); in OnConnectJobComplete()
[all …]
/external/chromium/chrome/browser/ui/cocoa/applescript/
Dbookmark_applescript_utils_unittest.mm11 @synthesize helper = helper_;
14 if (!helper_)
16 return helper_->profile();
51 [appDelegate_.get() setHelper:&helper_];
66 return *helper_.profile()->GetBookmarkModel();
Dbookmark_applescript_utils_unittest.h24 BrowserTestHelper* helper_; // weak.
46 BrowserTestHelper helper_;
/external/chromium/chrome/browser/ui/cocoa/
Djs_modal_dialog_cocoa.mm100 helper_(NULL) { function
131 helper_.reset([[JavaScriptAppModalDialogHelper alloc] init]);
134 alert_ = [helper_ alert];
137 field = [helper_ textField];
141 [alert_ setDelegate:helper_];
182 modalDelegate:helper_.get()
Dfirst_run_bubble_controller_unittest.mm19 BrowserTestHelper helper_;
38 profile:helper_.profile()];
Djs_modal_dialog_cocoa.h41 scoped_nsobject<JavaScriptAppModalDialogHelper> helper_; variable
/external/chromium/base/synchronization/
Dwaitable_event_watcher_win.cc24 : ALLOW_THIS_IN_INITIALIZER_LIST(helper_(this)), in WaitableEventWatcher()
37 return watcher_.StartWatching(event->handle(), &helper_); in StartWatching()
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/
Dwrench_menu_controller_unittest.mm45 Browser* browser = helper_.browser();
50 profile:helper_.profile()
62 BrowserTestHelper helper_;
/external/chromium/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_controller_unittest.mm51 Browser* browser = helper_.browser();
61 profile:helper_.profile()
82 BrowserTestHelper helper_;
91 CommandUpdater* updater = helper_.browser()->command_updater();
133 CommandUpdater* updater = helper_.browser()->command_updater();
166 PrefService* prefs = helper_.profile()->GetPrefs();
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_install_dialog_controller_unittest.mm71 BrowserTestHelper helper_;
115 profile:helper_.profile()
172 profile:helper_.profile()
204 profile:helper_.profile()
216 profile:helper_.profile()
259 profile:helper_.profile()
Dextension_installed_bubble_controller_unittest.mm47 browser_ = helper_.browser();
48 window_ = helper_.CreateBrowserWindow()->GetNativeHandle();
53 helper_.CloseBrowserWindow();
108 BrowserTestHelper helper_;
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_session_unittest.cc64 SessionService* service() { return helper_.service(); } in service()
72 helper_.set_service(session_service); in SetUp()
93 helper_.set_service(NULL); in TearDown()
110 profile()->set_session_service(helper_.service()); in StartSyncService()
137 SessionServiceTestHelper helper_; member in browser_sync::ProfileSyncServiceSessionTest
174 ASSERT_EQ(model_associator_->GetSessionService(), helper_.service()); in TEST_F()
/external/chromium/net/proxy/
Dproxy_config_service_mac.cc192 helper_(new Helper(this)), in ProxyConfigServiceMac()
199 helper_->Orphan(); in ~ProxyConfigServiceMac()
254 helper_.get(), &Helper::OnProxyConfigChanged, new_config)); in OnNetworkConfigChange()
/external/chromium/chrome/browser/printing/
Dprint_dialog_cloud.cc156 helper_ = NULL; in CancelPrintDataFile()
162 : helper_(helper), in CloudPrintDataSender()
184 if (helper_ && file_util::ReadFileToString(path_to_file, &file_data)) { in ReadPrintDataFile()
212 if (helper_ && print_data_.get()) { in SendPrintDataFile()
218 const_cast<CloudPrintDataSenderHelper*>(helper_)->CallJavascriptFunction( in SendPrintDataFile()

12