/external/chromium_org/chrome/browser/autocomplete/ |
shortcuts_backend_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 15 Profile* profile) { 17 GetInstance()->GetServiceForBrowserContext(profile, true).get()); 22 Profile* profile) { 24 GetInstance()->GetServiceForBrowserContext(profile, false).get()); 35 content::BrowserContext* profile) { 37 new ShortcutsBackend(static_cast<Profile*>(profile), false)) [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
password_manager_internals_service_unittest.cc | 32 scoped_ptr<TestingProfile> profile(builder.Build()); 38 ->MarkBrowserContextLiveForTesting(profile.get()); 41 ->MarkBrowserContextLiveForTesting(profile->GetOffTheRecordProfile()); 44 return profile.Pass(); 49 // When the profile is not incognito, it should be possible to activate the 52 scoped_ptr<TestingProfile> profile(CreateProfile(NORMAL_PROFILE)); 55 profile.get()); 58 ASSERT_TRUE(profile); 69 // When the browser profile is incognito, it should not be possible to activate 72 scoped_ptr<TestingProfile> profile(CreateProfile(INCOGNITO_PROFILE)) [all...] |
/external/chromium_org/chrome/browser/ui/android/tab_model/ |
tab_model.cc | 10 #include "chrome/browser/profiles/profile.h" 17 TabModel::TabModel(Profile* profile) 18 : profile_(profile), 22 if (profile) { 23 // A normal Profile creates an OTR profile if it does not exist when 25 // HasOffTheRecordProfile(). An OTR profile returns itself when you call 27 is_off_the_record_ = (profile->HasOffTheRecordProfile() && 28 profile == profile->GetOffTheRecordProfile()) 89 Profile* profile = content::Source<Profile>(source).ptr(); local [all...] |
/external/chromium_org/chrome/browser/ui/app_list/test/ |
fake_profile_store.cc | 7 #include "chrome/browser/profiles/profile.h" 16 void FakeProfileStore::LoadProfile(Profile* profile) { 17 loaded_profiles_[profile->GetPath()] = profile; 18 CallbacksByPath::iterator it = callbacks_.find(profile->GetPath()); 20 it->second.Run(profile); 25 void FakeProfileStore::RemoveProfile(Profile* profile) { 26 base::FilePath path(profile->GetPath()) 42 Profile* profile = GetProfileByPath(path); local [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
pinned_tab_service_unittest.cc | 21 KeyedService* BuildPinnedTabService(content::BrowserContext* profile) { 22 return new PinnedTabService(static_cast<Profile*>(profile)); 25 PinnedTabService* BuildForProfile(Profile* profile) { 28 profile, BuildPinnedTabService)); 37 TestingProfile* profile = BrowserWithTestWindowTest::CreateProfile(); variable 38 pinned_tab_service_ = BuildForProfile(profile); 39 return profile; 55 Browser::CreateParams params(Browser::TYPE_POPUP, profile(), [all...] |
/external/chromium_org/chrome/browser/ui/webui/ |
signin_internals_ui.cc | 8 #include "chrome/browser/profiles/profile.h" 33 Profile* profile = Profile::FromWebUI(web_ui); local 34 content::WebUIDataSource::Add(profile, CreateSignInInternalsHTMLSource()); 35 if (profile) { 37 AboutSigninInternalsFactory::GetForProfile(profile); 44 Profile* profile = Profile::FromWebUI(web_ui()) local 59 Profile* profile = Profile::FromWebUI(web_ui()); local [all...] |
/external/chromium_org/chrome/browser/search/ |
search.h | 17 class Profile; 62 // Returns whether the suggest is enabled for the given |profile|. 63 bool IsSuggestPrefEnabled(Profile* profile); 90 base::string16 ExtractSearchTermsFromURL(Profile* profile, const GURL& url); 95 bool IsQueryExtractionAllowedForURL(Profile* profile, const GURL& url); 109 // extraction is disabled for this WebContents or profile, or if |contents| 114 bool ShouldAssignURLToInstantRenderer(const GURL& url, Profile* profile) [all...] |
/external/chromium_org/chrome/browser/ui/ |
settings_window_manager.cc | 7 #include "chrome/browser/profiles/profile.h" 36 void SettingsWindowManager::ShowChromePageForProfile(Profile* profile, 38 // Use the original (non off-the-record) profile for settings unless 40 if (!profile->IsGuestSession() && profile->IsOffTheRecord()) 41 profile = profile->GetOriginalProfile(); 44 Browser* browser = FindBrowserForProfile(profile); 46 DCHECK(browser->profile() == profile) [all...] |
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_view_unittest.cc | 10 #include "chrome/browser/profiles/profile.h" 32 TestingProfile* profile = BrowserWithTestWindowTest::CreateProfile(); variable 36 profile, &BookmarkBarViewInstantExtendedTest::CreateTemplateURLService); 37 return profile; 42 content::BrowserContext* profile) { 44 static_cast<Profile*>(profile)->GetPrefs(), 56 profile()->CreateBookmarkModel(true); 58 BookmarkModelFactory::GetForProfile(profile())); 61 browser()->profile()->GetPrefs()->SetBoolean [all...] |
/external/chromium_org/apps/ |
launcher.h | 12 class Profile; 26 // the |command_line| fields present. |extension| and |profile| must not be 29 void LaunchPlatformAppWithCommandLine(Profile* profile, 36 void LaunchPlatformAppWithPath(Profile* profile, 41 void LaunchPlatformApp(Profile* profile, 49 Profile* profile, [all...] |
/external/chromium_org/chrome/browser/autofill/ |
personal_data_manager_factory.cc | 11 #include "chrome/browser/profiles/profile.h" 21 Profile* profile) { 23 GetInstance()->GetServiceForBrowserContext(profile, true)); 43 Profile* profile = Profile::FromBrowserContext(context); local 47 profile, Profile::EXPLICIT_ACCESS), 48 profile->GetPrefs() [all...] |
/external/chromium_org/chrome/browser/chromeos/login/session/ |
restore_after_crash_session_manager_delegate.cc | 10 #include "chrome/browser/profiles/profile.h" 20 RestoreAfterCrashSessionManagerDelegate(Profile* profile, 22 : profile_(profile), login_user_id_(login_user_id) { 40 user_session_mgr->InitRlz(profile()); 41 user_session_mgr->InitializeCerts(profile()); 44 // so that the Launcher and other Profile dependent classes are created. 48 content::Details<Profile>(profile())); 69 UserSessionManager::GetInstance()->RestoreAuthenticationSession(profile()); [all...] |
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
signed_in_devices_manager_unittest.cc | 20 KeyedService* CreateProfileSyncServiceMock(content::BrowserContext* profile) { 27 scoped_ptr<TestingProfile> profile(new TestingProfile()); 28 profile->GetPrefs()->SetString(prefs::kGoogleServicesUsername, "foo"); 30 profile.get(), CreateProfileSyncServiceMock); 31 SignedInDevicesManager manager(profile.get()); 36 profile.get());
|
/external/chromium_org/chrome/browser/media/ |
protected_media_identifier_permission_context_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 18 explicit Service(Profile* profile) { 19 context_ = new ProtectedMediaIdentifierPermissionContext(profile); 41 Profile* profile) { 43 GetInstance()->GetServiceForBrowserContext(profile, true))->context(); 66 content::BrowserContext* profile) const { 67 return new Service(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/ |
platform_util_chromeos.cc | 23 void ShowItemInFolder(Profile* profile, const base::FilePath& full_path) { 25 file_manager::util::ShowItemInFolder(profile, full_path); 28 void OpenItem(Profile* profile, const base::FilePath& full_path) { 30 file_manager::util::OpenItem(profile, full_path); 33 void OpenExternal(Profile* profile, const GURL& url) { 45 chrome::NavigateParams params(profile, url, ui::PAGE_TRANSITION_LINK);
|
/external/chromium_org/chrome/browser/profiles/ |
profile_destroyer.cc | 11 #include "chrome/browser/profiles/profile.h" 29 void ProfileDestroyer::DestroyProfileWhenAppropriate(Profile* const profile) { 32 DCHECK(profile); 33 profile->MaybeSendDestroyedNotification(); 39 if (profile->AsTestingProfile() == NULL) { 40 GetHostsForProfile(profile, &hosts); 41 if (!profile->IsOffTheRecord() && profile->HasOffTheRecordProfile()) 42 GetHostsForProfile(profile->GetOffTheRecordProfile(), &hosts) [all...] |
/external/chromium_org/chrome/browser/signin/ |
account_reconcilor_factory.cc | 7 #include "chrome/browser/profiles/profile.h" 26 Profile* profile) { 28 GetInstance()->GetServiceForBrowserContext(profile, true)); 38 Profile* profile = Profile::FromBrowserContext(context); local 40 ProfileOAuth2TokenServiceFactory::GetForProfile(profile), 41 SigninManagerFactory::GetForProfile(profile), 42 ChromeSigninClientFactory::GetForProfile(profile)); [all...] |
account_tracker_service_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 28 AccountTrackerServiceFactory::GetForProfile(Profile* profile) { 30 GetInstance()->GetServiceForBrowserContext(profile, true)); 51 Profile* profile = static_cast<Profile*>(context); local 54 ProfileOAuth2TokenServiceFactory::GetForProfile(profile), 55 profile->GetPrefs(), 56 profile->GetRequestContext()) [all...] |
profile_oauth2_token_service_factory.cc | 7 #include "chrome/browser/profiles/profile.h" 33 ProfileOAuth2TokenServiceFactory::GetForProfile(Profile* profile) { 35 GetInstance()->GetServiceForBrowserContext(profile, true)); 41 Profile* profile) { 43 GetForProfile(profile)); 54 Profile* profile = static_cast<Profile*>(context) local [all...] |
/external/chromium_org/chrome/browser/ssl/ |
chrome_ssl_host_state_delegate_factory.cc | 9 #include "chrome/browser/profiles/profile.h" 18 explicit Service(Profile* profile) 19 : decisions_(new ChromeSSLHostStateDelegate(profile)) {} 35 Profile* profile) { 37 profile, true))->decisions(); 56 content::BrowserContext* profile) const { 57 return new Service(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/supervised_user/chromeos/ |
manager_password_service_factory.cc | 11 #include "chrome/browser/profiles/profile.h" 22 ManagerPasswordServiceFactory::GetForProfile(Profile* profile) { 24 GetInstance()->GetServiceForBrowserContext(profile, true)); 46 Profile* profile= static_cast<Profile*>(context); local 47 user_manager::User* user = ProfileHelper::Get()->GetUserByProfile(profile); 53 SupervisedUserSyncServiceFactory::GetForProfile(profile), 55 profile)); [all...] |
/external/chromium_org/chrome/browser/supervised_user/ |
supervised_user_service_factory.cc | 8 #include "chrome/browser/profiles/profile.h" 21 Profile* profile) { 23 GetInstance()->GetServiceForBrowserContext(profile, true)); 32 KeyedService* SupervisedUserServiceFactory::BuildInstanceFor(Profile* profile) { 33 return new SupervisedUserService(profile); 56 content::BrowserContext* profile) const { 57 return BuildInstanceFor(static_cast<Profile*>(profile)); [all...] |
/external/chromium_org/chrome/browser/sync/ |
sync_startup_tracker.cc | 7 #include "chrome/browser/profiles/profile.h" 11 SyncStartupTracker::SyncStartupTracker(Profile* profile, Observer* observer) 12 : profile_(profile), 51 Profile* profile) { 53 if (!profile->IsSyncAccessible()) 57 ProfileSyncServiceFactory::GetForProfile(profile); 60 if (!profile->IsSyncAccessible() || !service ||
|
/external/chromium_org/chrome/browser/sync/test/integration/ |
sync_app_list_helper.h | 14 class Profile; 34 // Moves an app in |profile|. 35 void MoveApp(Profile* profile, size_t from, size_t to); 37 // Moves an app in |profile| to |folder_id|. 38 void MoveAppToFolder(Profile* profile, 42 // Moves an app in |profile| from |folder_id| to the top level list of apps. 43 void MoveAppFromFolder(Profile* profile, [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_decoder.c | 36 vl_profile_supported(struct pipe_screen *screen, enum pipe_video_profile profile) 39 switch (u_reduce_video_profile(profile)) { 49 enum pipe_video_profile profile, 64 profile, 71 switch (u_reduce_video_profile(profile)) { 73 return vl_create_mpeg12_decoder(pipe, profile, entrypoint, chroma_format,
|