Home
last modified time | relevance | path

Searched refs:incognito_profile (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/extensions/
Dprocess_manager_unittest.cc73 scoped_ptr<TestingProfile> incognito_profile = builder.Build(); in TEST_F() local
74 incognito_profile->SetOriginalProfile(original_profile.get()); in TEST_F()
76 ProcessManager::Create(incognito_profile.get())); in TEST_F()
78 EXPECT_EQ(incognito_profile.get(), manager2->GetBrowserContext()); in TEST_F()
89 incognito_profile.get())); in TEST_F()
97 incognito_profile.get())); in TEST_F()
107 incognito_profile.get())); in TEST_F()
Dextension_tab_util.cc241 Profile* incognito_profile = in GetTabById() local
247 target_browser->profile() == incognito_profile) { in GetTabById()
/external/chromium/chrome/browser/extensions/
Dextension_install_ui_browsertest.cc105 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
107 incognito_profile); in IN_PROC_BROWSER_TEST_F()
114 incognito_profile)); in IN_PROC_BROWSER_TEST_F()
Dbrowser_action_apitest.cc289 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
290 Browser* incognito_browser = Browser::Create(incognito_profile); in IN_PROC_BROWSER_TEST_F()
302 incognito_browser = Browser::Create(incognito_profile); in IN_PROC_BROWSER_TEST_F()
338 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
339 Browser* incognito_browser = Browser::Create(incognito_profile); in IN_PROC_BROWSER_TEST_F()
Dextension_cookies_api.cc472 Profile* incognito_profile = NULL; in RunImpl() local
475 incognito_profile = profile()->GetOffTheRecordProfile(); in RunImpl()
476 if (incognito_profile) in RunImpl()
479 DCHECK(original_profile != incognito_profile); in RunImpl()
491 browser->profile() == incognito_profile) { in RunImpl()
506 incognito_profile, incognito_tab_ids.release())); in RunImpl()
Dextension_tabs_module.cc224 Profile* incognito_profile = in GetTabById() local
231 target_browser->profile() == incognito_profile) { in GetTabById()
305 Profile* incognito_profile = in RunImpl() local
312 (*browser)->profile() == incognito_profile) && in RunImpl()
1314 Profile* incognito_profile = in GetBrowserInProfileWithId() local
1320 (*browser)->profile() == incognito_profile) && in GetBrowserInProfileWithId()
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_bubble_sign_in_delegate_unittest.cc69 scoped_ptr<TestingProfile> incognito_profile = in TEST_F() local
71 incognito_profile->SetOriginalProfile(profile()); in TEST_F()
72 profile()->SetOffTheRecordProfile(incognito_profile.PassAs<Profile>()); in TEST_F()
/external/chromium_org/chrome/browser/extensions/api/cookies/
Dcookies_api.cc519 Profile* incognito_profile = NULL; in RunImpl() local
522 incognito_profile = GetProfile()->GetOffTheRecordProfile(); in RunImpl()
523 if (incognito_profile) in RunImpl()
526 DCHECK(original_profile != incognito_profile); in RunImpl()
536 browser->profile() == incognito_profile) { in RunImpl()
548 incognito_profile) { in RunImpl()
551 incognito_profile, incognito_tab_ids.release()).release())); in RunImpl()
/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dbrowser_action_apitest.cc476 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
478 new Browser(Browser::CreateParams(incognito_profile, in IN_PROC_BROWSER_TEST_F()
492 new Browser(Browser::CreateParams(incognito_profile, in IN_PROC_BROWSER_TEST_F()
531 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
533 new Browser(Browser::CreateParams(incognito_profile, in IN_PROC_BROWSER_TEST_F()
586 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
588 new Browser(Browser::CreateParams(incognito_profile, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/apps/
Dapp_browsertest.cc1196 Profile* incognito_profile = profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
1197 ASSERT_TRUE(incognito_profile != NULL); in IN_PROC_BROWSER_TEST_F()
1201 EventRouter* router = ExtensionSystem::Get(incognito_profile)->event_router(); in IN_PROC_BROWSER_TEST_F()
1209 ShellWindowRegistry* registry = ShellWindowRegistry::Get(incognito_profile); in IN_PROC_BROWSER_TEST_F()
1214 incognito_profile, file_manager, 0, chrome::HOST_DESKTOP_TYPE_NATIVE)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/profiles/
Dprofile_manager_unittest.cc423 scoped_ptr<TestingProfile> incognito_profile = builder.Build(); in TEST_F() local
424 EXPECT_TRUE(incognito_profile->IsOffTheRecord()); in TEST_F()
426 testing_profile->SetOffTheRecordProfile(incognito_profile.PassAs<Profile>()); in TEST_F()
/external/chromium/chrome/browser/ui/cocoa/
Dbrowser_window_controller_unittest.mm155 scoped_ptr<TestingProfile> incognito_profile(new TestingProfile());
156 incognito_profile->set_off_the_record(true);
158 incognito_profile.get()));
/external/chromium/chrome/browser/ui/find_bar/
Dfind_bar_host_browsertest.cc1039 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
1040 Browser* incognito_browser = Browser::Create(incognito_profile); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/
Dbrowser_window_controller_unittest.mm227 scoped_ptr<TestingProfile> incognito_profile(new TestingProfile());
228 incognito_profile->set_off_the_record(true);
230 new Browser(Browser::CreateParams(incognito_profile.get(),
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc122 Profile* incognito_profile = in GetBrowserInProfileWithId() local
128 browser->profile() == incognito_profile) && in GetBrowserInProfileWithId()
/external/chromium_org/chrome/browser/ui/find_bar/
Dfind_bar_host_browsertest.cc1370 Profile* incognito_profile = browser()->profile()->GetOffTheRecordProfile(); in IN_PROC_BROWSER_TEST_F() local
1372 new Browser(Browser::CreateParams(incognito_profile, in IN_PROC_BROWSER_TEST_F()