/external/chromium_org/chrome/browser/sync/test/integration/ |
two_client_themes_sync_test.cc | 38 ASSERT_FALSE(UsingCustomTheme(GetProfile(0))); 39 ASSERT_FALSE(UsingCustomTheme(GetProfile(1))); 42 UseCustomTheme(GetProfile(0), 0); 44 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 49 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 50 ASSERT_FALSE(UsingCustomTheme(GetProfile(1))); 54 ASSERT_TRUE(ThemeIsPendingInstall(GetProfile(1), GetCustomTheme(0))); 68 UseCustomTheme(GetProfile(0), 0); 69 UseCustomTheme(GetProfile(1), 0); 74 UseNativeTheme(GetProfile(0)) [all...] |
two_client_extensions_sync_test.cc | 41 InstallExtension(GetProfile(0), i); 42 InstallExtension(GetProfile(1), i); 61 InstallExtension(GetProfile(0), i); 62 InstallExtension(GetProfile(1), i); 68 InstallExtension(GetProfile(0), i); 74 InstallExtension(GetProfile(1), i); 82 InstallExtensionsPendingForSync(GetProfile(0)); 83 InstallExtensionsPendingForSync(GetProfile(1)); 96 InstallExtension(GetProfile(0), i); 97 InstallExtension(GetProfile(1), i) [all...] |
single_client_themes_sync_test.cc | 35 ASSERT_FALSE(UsingCustomTheme(GetProfile(0))); 38 UseCustomTheme(GetProfile(0), 0); 40 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 45 ASSERT_EQ(GetCustomTheme(0), GetThemeID(GetProfile(0))); 57 UseCustomTheme(GetProfile(0), 0); 59 ASSERT_FALSE(UsingNativeTheme(GetProfile(0))); 64 UseNativeTheme(GetProfile(0)); 66 ASSERT_TRUE(UsingNativeTheme(GetProfile(0))); 71 ASSERT_TRUE(UsingNativeTheme(GetProfile(0))); 78 UseCustomTheme(GetProfile(0), 0) [all...] |
two_client_apps_sync_test.cc | 53 InstallApp(GetProfile(0), i); 54 InstallApp(GetProfile(1), i); 75 InstallApp(GetProfile(0), i); 76 InstallApp(GetProfile(1), i); 82 InstallApp(GetProfile(0), i); 84 CopyNTPOrdinals(GetProfile(0), verifier(), i); 89 InstallApp(GetProfile(1), i); 91 CopyNTPOrdinals(GetProfile(1), verifier(), i); 96 InstallPlatformApp(GetProfile(1), i); 98 CopyNTPOrdinals(GetProfile(1), verifier(), i) [all...] |
single_client_apps_sync_test.cc | 35 InstallApp(GetProfile(0), i); 49 InstallPlatformApp(GetProfile(0), i); 63 InstallApp(GetProfile(0), i); 77 InstallPlatformApp(GetProfile(0), i); 93 InstallApp(GetProfile(0), i); 99 InstallPlatformApp(GetProfile(0), i);
|
single_client_extensions_sync_test.cc | 35 InstallExtension(GetProfile(0), i); 49 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 | 167 DCHECK(GetProfile()); 178 GetProfile()); 192 GetProfile(), 203 MediaGalleriesPrivateAPI::Get(GetProfile())->GetEventRouter(); 209 GetProfile(), 234 ->GetPreferences(GetProfile()) 237 GetProfile())->GetGalleryWatchStateTracker(); 265 GetProfile()); 279 GetProfile(), 292 GetProfile(), [all...] |
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
content_settings_api.cc | 85 if (GetProfile()->IsOffTheRecord()) { 91 ContentSettingsStore* store = extensions::ExtensionSystem::Get(GetProfile()) 138 if (!GetProfile()->HasOffTheRecordProfile()) { 144 map = GetProfile()->GetOffTheRecordProfile()->GetHostContentSettingsMap(); 146 GetProfile()->GetOffTheRecordProfile()).get(); 148 map = GetProfile()->GetHostContentSettingsMap(); 150 CookieSettings::Factory::GetForProfile(GetProfile()).get(); 212 GetProfile()->GetPrefs(), setting, content_type)); 224 if (!GetProfile()->IsOffTheRecord() && !include_incognito()) { 231 if (GetProfile()->IsOffTheRecord()) [all...] |
/external/chromium_org/chrome/browser/extensions/api/module/ |
module.cc | 42 ExtensionPrefs::Get(GetProfile())->UpdateExtensionPref( 49 ExtensionSystem::Get(GetProfile())->extension_service(); 59 ExtensionSystem::Get(GetProfile())->extension_service();
|
/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/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/chrome/browser/history/ |
history_browsertest.cc | 91 return GetProfile()->GetPrefs(); 94 Profile* GetProfile() { 95 return browser()->GetProfile(); 99 return GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS); 136 EXPECT_TRUE(GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS)); 137 EXPECT_TRUE(GetProfile()->GetHistoryService(Profile::IMPLICIT_ACCESS)); 159 EXPECT_TRUE(GetProfile()->GetHistoryService(Profile::EXPLICIT_ACCESS)); 160 EXPECT_FALSE(GetProfile()->GetHistoryService(Profile::IMPLICIT_ACCESS));
|
/external/chromium/chrome/browser/ui/webui/ |
ntp_login_handler.cc | 25 PrefService* pref_service = web_ui->GetProfile()->GetPrefs(); 50 std::string username = web_ui_->GetProfile()->GetPrefs()->GetString(
|
most_visited_handler.cc | 67 Profile* profile = web_ui->GetProfile(); 119 Profile* profile = web_ui_->GetProfile(); 138 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); 163 web_ui_->GetProfile()); 164 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); 172 web_ui_->GetProfile()); 174 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); 214 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); 225 history::TopSites* ts = web_ui_->GetProfile()->GetTopSites(); 236 PrefService* prefs = web_ui_->GetProfile()->GetPrefs() [all...] |
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
bluetooth_extension_function.cc | 46 if (!IsBluetoothSupported(GetProfile())) { 51 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 | 223 if (GetProfile()->IsOffTheRecord()) { 237 GetProfile()->GetPrefs()->FindPreference(pref_path.c_str())); 239 PreferenceAPI::Get(GetProfile())->RemoveExtensionControlledPref( 252 PrefService* prefs = GetProfile()->GetPrefs(); 266 GetProfile(), extension_id(), pref_path, kIncognito); 276 if (GetProfile()->IsOffTheRecord()) { 290 GetProfile()->GetPrefs()->FindPreference(pref_path.c_str())); 292 PreferenceAPI::Get(GetProfile())->SetExtensionControlledPref( 346 if (GetProfile()->IsOffTheRecord()) { 351 PreferenceAPI::Get(GetProfile())->RemoveExtensionControlledPref [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()); 205 EXPECT_FALSE(GetProfile()); 224 EXPECT_EQ(user_profile, GetProfile()); 239 EXPECT_EQ(user_profile, GetProfile()); 251 EXPECT_EQ(user_profile, GetProfile()); 263 EXPECT_FALSE(GetProfile()); [all...] |
/external/chromium_org/chrome/browser/extensions/api/autotest_private/ |
autotest_private_api.cc | 65 if (!AutotestPrivateAPIFactory::GetForProfile(GetProfile())->test_mode()) 72 if (!AutotestPrivateAPIFactory::GetForProfile(GetProfile())->test_mode()) 86 if (!AutotestPrivateAPIFactory::GetForProfile(GetProfile())->test_mode()) 91 if (!AutotestPrivateAPIFactory::GetForProfile(GetProfile())->test_mode()) 155 GetProfile())->extension_service(); 159 ExtensionActionManager::Get(GetProfile()); 220 if (!AutotestPrivateAPIFactory::GetForProfile(GetProfile())->test_mode()) {
|
/external/chromium_org/chrome/browser/extensions/api/permissions/ |
permissions_api.cc | 59 ExtensionPrefs::Get(GetProfile())->AllowFileAccess(extension_->id()), 82 ExtensionPrefs::Get(GetProfile())->AllowFileAccess(extension_->id()), 110 PermissionsUpdater(GetProfile()) 130 PermissionsUpdater perms_updater(GetProfile()); 162 ExtensionPrefs::Get(GetProfile())->AllowFileAccess(extension_->id()), 188 GetProfile())->GetGrantedPermissions(GetExtension()->id()); 190 PermissionsUpdater perms_updater(GetProfile());
|
/external/chromium_org/chromeos/dbus/ |
fake_shill_profile_client.cc | 63 ProfileProperties* profile = GetProfile(profile_path, error_callback); 85 ProfileProperties* profile = GetProfile(profile_path, error_callback); 105 ProfileProperties* profile = GetProfile(profile_path, error_callback); 129 if (GetProfile(dbus::ObjectPath(profile_path), ErrorCallback())) 143 ProfileProperties* profile = GetProfile(dbus::ObjectPath(profile_path), 154 ProfileProperties* profile = GetProfile(dbus::ObjectPath(profile_path), 195 FakeShillProfileClient::ProfileProperties* FakeShillProfileClient::GetProfile(
|
/external/chromium_org/chrome/browser/extensions/api/audio/ |
audio_api.cc | 53 AudioAPI::GetFactoryInstance()->GetForProfile(GetProfile())->GetService(); 76 AudioAPI::GetFactoryInstance()->GetForProfile(GetProfile())->GetService(); 89 AudioAPI::GetFactoryInstance()->GetForProfile(GetProfile())->GetService();
|