/external/chromium_org/chrome/browser/sync/test/integration/ |
two_client_themes_sync_test.cc | 49 ASSERT_FALSE(UsingCustomTheme(GetProfile(0))); 50 ASSERT_FALSE(UsingCustomTheme(GetProfile(1))); 53 UseCustomTheme(GetProfile(0), 0); 55 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 60 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 61 ASSERT_FALSE(UsingCustomTheme(GetProfile(1))); 65 ASSERT_TRUE(ThemeIsPendingInstall(GetProfile(1), GetCustomTheme(0))); 79 UseCustomTheme(GetProfile(0), 0); 80 UseCustomTheme(GetProfile(1), 0); 85 UseSystemTheme(GetProfile(0)) [all...] |
two_client_extensions_sync_test.cc | 53 InstallExtension(GetProfile(0), i); 54 InstallExtension(GetProfile(1), i); 73 InstallExtension(GetProfile(0), i); 74 InstallExtension(GetProfile(1), i); 80 InstallExtension(GetProfile(0), i); 86 InstallExtension(GetProfile(1), i); 94 InstallExtensionsPendingForSync(GetProfile(0)); 95 InstallExtensionsPendingForSync(GetProfile(1)); 108 InstallExtension(GetProfile(0), i); 109 InstallExtension(GetProfile(1), i) [all...] |
single_client_themes_sync_test.cc | 37 ASSERT_FALSE(UsingCustomTheme(GetProfile(0))); 40 UseCustomTheme(GetProfile(0), 0); 42 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 47 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 59 UseCustomTheme(GetProfile(0), 0); 61 ASSERT_FALSE(UsingSystemTheme(GetProfile(0))); 66 UseSystemTheme(GetProfile(0)); 68 ASSERT_TRUE(UsingSystemTheme(GetProfile(0))); 73 ASSERT_TRUE(UsingSystemTheme(GetProfile(0))); 80 UseCustomTheme(GetProfile(0), 0) [all...] |
two_client_app_list_sync_test.cc | 85 WaitForExtensionsServiceToLoadForProfile(GetProfile(i)); 114 InstallApp(GetProfile(0), i); 115 InstallApp(GetProfile(1), i); 136 InstallApp(GetProfile(0), i); 137 InstallApp(GetProfile(1), i); 143 std::string id = InstallApp(GetProfile(0), i); 145 SyncAppListHelper::GetInstance()->CopyOrdinalsToVerifier(GetProfile(0), id); 150 std::string id = InstallApp(GetProfile(1), i); 152 SyncAppListHelper::GetInstance()->CopyOrdinalsToVerifier(GetProfile(1), id); 159 InstallAppsPendingForSync(GetProfile(0)) [all...] |
two_client_apps_sync_test.cc | 75 InstallApp(GetProfile(0), i); 76 InstallApp(GetProfile(1), i); 97 InstallApp(GetProfile(0), i); 98 InstallApp(GetProfile(1), i); 104 InstallApp(GetProfile(0), i); 106 CopyNTPOrdinals(GetProfile(0), verifier(), i); 111 InstallApp(GetProfile(1), i); 113 CopyNTPOrdinals(GetProfile(1), verifier(), i); 118 InstallPlatformApp(GetProfile(1), i); 120 CopyNTPOrdinals(GetProfile(1), verifier(), i) [all...] |
single_client_apps_sync_test.cc | 37 InstallApp(GetProfile(0), i); 51 InstallPlatformApp(GetProfile(0), i); 65 InstallApp(GetProfile(0), i); 79 InstallPlatformApp(GetProfile(0), i); 95 InstallApp(GetProfile(0), i); 101 InstallPlatformApp(GetProfile(0), i);
|
single_client_extensions_sync_test.cc | 37 InstallExtension(GetProfile(0), i); 51 InstallExtension(GetProfile(0), i);
|
/external/chromium_org/chrome/browser/sync/test/integration/performance/ |
extensions_sync_perf_test.cc | 50 InstallExtension(GetProfile(profile), extension_number_++); 55 std::vector<int> extensions = GetInstalledExtensions(GetProfile(profile)); 58 if (IsExtensionEnabled(GetProfile(profile), *it)) { 59 DisableExtension(GetProfile(profile), *it); 61 EnableExtension(GetProfile(profile), *it); 67 return GetInstalledExtensions(GetProfile(profile)).size(); 71 std::vector<int> extensions = GetInstalledExtensions(GetProfile(profile)); 74 UninstallExtension(GetProfile(profile), *it); 87 InstallExtensionsPendingForSync(GetProfile(1));
|
/external/chromium_org/chrome/browser/ui/webui/ |
theme_handler.cc | 34 ThemeServiceFactory::GetForProfile(GetProfile()))); 43 ThemeServiceFactory::GetForProfile(GetProfile())->HasCustomImage( 49 Profile* profile = GetProfile(); 54 Profile* ThemeHandler::GetProfile() const {
|
app_launcher_page_ui.cc | 41 if (NTPLoginHandler::ShouldShow(GetProfile())) 44 if (!GetProfile()->IsOffTheRecord()) { 45 ExtensionService* service = GetProfile()->GetExtensionService(); 62 new HTMLSource(GetProfile()->GetOriginalProfile())); 63 content::URLDataSource::Add(GetProfile(), html_source.release()); 77 Profile* AppLauncherPageUI::GetProfile() const {
|
/external/chromium_org/chrome/browser/extensions/api/media_galleries_private/ |
media_galleries_private_api.cc | 161 DCHECK(GetProfile()); 172 GetProfile()); 186 GetProfile(), 196 MediaGalleriesPrivateAPI::Get(GetProfile())->GetEventRouter(); 202 GetProfile(), 222 ->GetPreferences(GetProfile()) 225 GetProfile())->GetGalleryWatchStateTracker(); 251 GetProfile()); 264 GetProfile(), 277 GetProfile(), [all...] |
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
context_menus_api.cc | 36 MenuItem::Id id(GetProfile()->IsOffTheRecord(), 56 return helpers::CreateMenuItem(params->create_properties, GetProfile(), 61 MenuItem::Id item_id(GetProfile()->IsOffTheRecord(), 73 return helpers::UpdateMenuItem(params->update_properties, GetProfile(), 81 MenuManager* manager = MenuManager::Get(GetProfile()); 83 MenuItem::Id id(GetProfile()->IsOffTheRecord(), 107 MenuManager* manager = MenuManager::Get(GetProfile());
|
/external/chromium_org/chrome/browser/extensions/api/hotword_private/ |
hotword_private_api.cc | 80 PrefService* prefs = GetProfile()->GetPrefs(); 90 PrefService* prefs = GetProfile()->GetPrefs(); 99 HotwordServiceFactory::GetForProfile(GetProfile()); 105 PrefService* prefs = GetProfile()->GetPrefs(); 122 HotwordServiceFactory::GetForProfile(GetProfile()); 130 HotwordServiceFactory::GetForProfile(GetProfile());
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
content_settings_api.cc | 84 if (GetProfile()->IsOffTheRecord()) { 91 ContentSettingsService::Get(GetProfile())->content_settings_store(); 136 if (!GetProfile()->HasOffTheRecordProfile()) { 142 map = GetProfile()->GetOffTheRecordProfile()->GetHostContentSettingsMap(); 144 GetProfile()->GetOffTheRecordProfile()).get(); 146 map = GetProfile()->GetHostContentSettingsMap(); 148 CookieSettings::Factory::GetForProfile(GetProfile()).get(); 210 GetProfile()->GetPrefs(), setting, content_type)); 222 if (!GetProfile()->IsOffTheRecord() && !include_incognito()) { 229 if (GetProfile()->IsOffTheRecord()) [all...] |
/external/chromium_org/chrome/browser/extensions/api/module/ |
module.cc | 49 ExtensionPrefs::Get(GetProfile())->UpdateExtensionPref( 56 util::IsIncognitoEnabled(extension_id(), GetProfile()))); 62 util::AllowFileAccess(extension_id(), GetProfile())));
|
/external/chromium_org/chrome/browser/extensions/api/preferences_private/ |
preferences_private_api.cc | 27 ProfileSyncServiceFactory::GetForProfile(GetProfile()); 37 ProfileSyncServiceFactory::GetForProfile(GetProfile()); 49 sync_driver::SyncPrefs sync_prefs(GetProfile()->GetPrefs());
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
chrome_direct_setting.cc | 23 return GetProfile()->GetPrefs(); 37 EXTENSION_FUNCTION_VALIDATE(ChromeDirectSettingAPI::Get(GetProfile()) 61 EXTENSION_FUNCTION_VALIDATE(ChromeDirectSettingAPI::Get(GetProfile()) 92 EXTENSION_FUNCTION_VALIDATE(ChromeDirectSettingAPI::Get(GetProfile())
|
/external/chromium_org/chrome/browser/extensions/ |
page_action_controller.cc | 37 return ExtensionActionManager::Get(GetProfile())->GetPageAction(*extension); 43 ExtensionActionManager::Get(GetProfile())->GetPageAction(*extension); 79 Profile* profile = GetProfile(); 92 Profile* PageActionController::GetProfile() {
|
/external/chromium_org/chrome/browser/ui/android/tab_model/ |
tab_model_unittest.cc | 57 EXPECT_EQ(&testing_profile, tab_model.GetProfile()); 65 EXPECT_EQ(NULL, tab_model.GetProfile()); 78 EXPECT_EQ(&testing_profile, tab_model.GetProfile()); 86 EXPECT_EQ(NULL, tab_model.GetProfile());
|
/external/chromium_org/chrome/browser/extensions/api/idle/ |
idle_api.cc | 38 IdleManagerFactory::GetForProfile(GetProfile())->QueryState( 55 IdleManagerFactory::GetForProfile(GetProfile())
|
/external/chromium_org/chrome/browser/extensions/api/font_settings/ |
font_settings_api.cc | 224 if (GetProfile()->IsOffTheRecord()) { 238 GetProfile()->GetPrefs()->FindPreference(pref_path.c_str())); 240 PreferenceAPI::Get(GetProfile())->RemoveExtensionControlledPref( 253 PrefService* prefs = GetProfile()->GetPrefs(); 267 GetProfile(), extension_id(), pref_path, kIncognito); 277 if (GetProfile()->IsOffTheRecord()) { 291 GetProfile()->GetPrefs()->FindPreference(pref_path.c_str())); 293 PreferenceAPI::Get(GetProfile())->SetExtensionControlledPref( 347 if (GetProfile()->IsOffTheRecord()) { 352 PreferenceAPI::Get(GetProfile())->RemoveExtensionControlledPref [all...] |
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_mount.cc | 53 drive::EventLogger* logger = file_manager::util::GetLogger(GetProfile()); 64 render_view_host(), GetProfile(), GURL(params->source)); 72 drive::util::GetFileSystemByProfile(GetProfile()); 83 file_manager::VolumeManager::Get(GetProfile()); 146 drive::EventLogger* logger = file_manager::util::GetLogger(GetProfile()); 158 VolumeManager* volume_manager = VolumeManager::Get(GetProfile()); 179 chromeos::file_system_provider::Service::Get(GetProfile()); 202 file_manager::VolumeManager::Get(GetProfile())->GetVolumeInfoList(); 210 GetProfile(), volume_info_list[i], volume_metadata.get()); 217 drive::EventLogger* logger = file_manager::util::GetLogger(GetProfile()); [all...] |
/external/chromium_org/chrome/browser/chromeos/power/ |
power_prefs_unittest.cc | 46 const Profile* GetProfile() const; 79 EXPECT_FALSE(GetProfile()); 90 const Profile* PowerPrefsTest::GetProfile() const { 179 EXPECT_EQ(login_profile, GetProfile()); 194 EXPECT_EQ(login_profile, GetProfile()); 206 EXPECT_FALSE(GetProfile()); 223 EXPECT_EQ(user_profile, GetProfile()); 238 EXPECT_EQ(user_profile, GetProfile()); 250 EXPECT_EQ(user_profile, GetProfile()); 263 EXPECT_FALSE(GetProfile()); [all...] |
/external/chromium_org/chrome/browser/extensions/api/networking_private/ |
networking_private_api_nonchromeos.cc | 39 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 76 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 113 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 153 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 189 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 226 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 254 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 321 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 338 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); 371 NetworkingPrivateServiceClientFactory::GetForProfile(GetProfile()); [all...] |
/external/chromium_org/chrome/browser/extensions/api/media_galleries/ |
media_galleries_api.cc | 394 return Setup(GetProfile(), &error_, base::Bind( 463 GetWebContents(render_view_host(), GetProfile(), extension->id()); 482 DCHECK(registry->GetPreferences(GetProfile())->IsInitialized()); 493 return Setup(GetProfile(), &error_, base::Bind( 500 MediaGalleriesPreferences* prefs = registry->GetPreferences(GetProfile()); 527 MediaGalleriesPreferences* prefs = registry->GetPreferences(GetProfile()); 554 return Setup(GetProfile(), &error_, base::Bind( 559 Profile* profile = GetProfile(); 602 extensions::ExtensionPrefs::Get(GetProfile()), 607 media_file_system_registry()->GetPreferences(GetProfile()); [all...] |