Searched defs:prefs (Results 101 - 125 of 510) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/search_engines/
H A Dtemplate_url_prepopulate_data_unittest.cc88 profile.GetPrefs()->SetInteger(prefs::kCountryIDAtInstall, kCountryIds[i]);
106 TestingPrefServiceSyncable* prefs = profile.GetTestingPrefService(); local
107 prefs->SetUserPref(prefs::kSearchProviderOverridesVersion,
119 prefs->SetUserPref(prefs::kSearchProviderOverrides, overrides);
121 int version = TemplateURLPrepopulateData::GetDataVersion(prefs);
150 prefs->SetUserPref(prefs::kSearchProviderOverrides, overrides);
185 prefs
195 TestingPrefServiceSyncable* prefs = profile.GetTestingPrefService(); local
[all...]
/external/chromium_org/chrome/browser/ui/
H A Dalternate_error_tab_observer.cc7 #include "base/prefs/pref_service.h"
26 PrefService* prefs = profile_->GetPrefs(); local
27 if (prefs) {
28 pref_change_registrar_.Init(prefs);
30 prefs::kAlternateErrorPagesEnabled,
45 user_prefs::PrefRegistrySyncable* prefs) {
46 prefs->RegisterBooleanPref(prefs::kAlternateErrorPagesEnabled,
79 if (profile_->GetPrefs()->GetBoolean(prefs::kAlternateErrorPagesEnabled)) {
44 RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* prefs) argument
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dreset_screen_handler.cc10 #include "base/prefs/pref_service.h"
113 PrefService* prefs = g_browser_process->local_state(); local
114 prefs->SetBoolean(prefs::kFactoryResetRequested, true);
115 prefs->CommitPendingWrite();
/external/chromium_org/chrome/browser/ui/webui/print_preview/
H A Dsticky_settings.cc9 #include "base/prefs/pref_service.h"
34 void StickySettings::SaveInPrefs(PrefService* prefs) { argument
35 DCHECK(prefs);
36 if (prefs) {
43 prefs->Set(prefs::kPrintPreviewStickySettings, *value);
47 void StickySettings::RestoreFromPrefs(PrefService* prefs) { argument
48 DCHECK(prefs);
49 if (prefs) {
51 prefs
[all...]
/external/chromium_org/chrome/installer/util/
H A Dchrome_binaries_operations.cc18 void ChromeBinariesOperations::ReadOptions(const MasterPreferences& prefs, argument
H A Dlogging_installer.cc77 void InitInstallerLogging(const installer::MasterPreferences& prefs) { argument
84 if (prefs.GetBool(installer::master_preferences::kDisableLogging,
89 base::FilePath log_file_path(GetLogFilePath(prefs));
97 if (prefs.GetBool(installer::master_preferences::kVerboseLogging,
114 base::FilePath GetLogFilePath(const installer::MasterPreferences& prefs) { argument
116 prefs.GetString(installer::master_preferences::kLogFile, &path);
121 std::wstring log_filename = prefs.install_chrome_frame() ?
/external/chromium_org/chrome/test/webdriver/
H A Dwebdriver_capabilities_parser.h70 scoped_ptr<base::DictionaryValue> prefs; member in struct:webdriver::Capabilities
/external/chromium_org/components/browser_context_keyed_service/
H A Dbrowser_context_keyed_base_factory.cc7 #include "base/prefs/pref_service.h"
53 // With normal contexts, prefs can simply be registered at
59 // swap out the PrefService after we've registered user prefs on the original
62 // BrowserContextKeyedServiceFactory associated with the prefs they need,
76 PrefService* prefs = user_prefs::UserPrefs::Get(context); local
79 prefs->DeprecatedGetPrefRegistry());
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Dproxydetect_unittest.cc56 // Mocking out platform specific path to firefox prefs file.
67 EXPECT_TRUE(name.compare("prefs.js") == 0 ||
77 bool GetProxyInfo(const std::string prefs, ProxyInfo* info) { argument
81 files.push_back(talk_base::FakeFileSystem::File("prefs.js", prefs));
86 // Verifies that an empty Firefox prefs file results in no proxy detected.
93 // Verifies that corrupted prefs file results in no proxy detected.
107 std::string prefs(kFirefoxHeader);
108 prefs.append("user_pref(\"network.proxy.socks\", \"proxy.socks.com\");\n");
109 prefs
[all...]
/external/chromium/chrome/browser/content_settings/
H A Dhost_content_settings_map_unittest.cc12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/browser/prefs/scoped_user_pref_update.h"
248 PrefService* prefs = profile.GetPrefs(); local
251 scoped_ptr<Value> default_value(prefs->FindPreference(
252 prefs::kDefaultContentSettings)->GetValue()->DeepCopy());
263 scoped_ptr<Value> new_value(prefs->FindPreference(
264 prefs::kDefaultContentSettings)->GetValue()->DeepCopy());
267 prefs->Set(prefs::kDefaultContentSettings, *default_value);
273 prefs
284 PrefService* prefs = profile.GetPrefs(); local
497 PrefService* prefs = profile.GetPrefs(); local
522 PrefService* prefs = profile.GetPrefs(); local
548 PrefService* prefs = profile.GetPrefs(); local
707 TestingPrefService* prefs = profile.GetTestingPrefService(); local
745 TestingPrefService* prefs = profile.GetTestingPrefService(); local
776 TestingPrefService* prefs = profile.GetTestingPrefService(); local
815 TestingPrefService* prefs = profile.GetTestingPrefService(); local
845 TestingPrefService* prefs = profile.GetTestingPrefService(); local
869 TestingPrefService* prefs = profile.GetTestingPrefService(); local
[all...]
/external/chromium/chrome/browser/download/
H A Ddownload_prefs.cc15 #include "chrome/browser/prefs/pref_service.h"
19 DownloadPrefs::DownloadPrefs(PrefService* prefs) : prefs_(prefs) { argument
20 prompt_for_download_.Init(prefs::kPromptForDownload, prefs, NULL);
21 download_path_.Init(prefs::kDownloadDefaultDirectory, prefs, NULL);
22 save_file_type_.Init(prefs::kSaveFileType, prefs, NULL);
27 prefs
47 RegisterUserPrefs(PrefService* prefs) argument
[all...]
/external/chromium/chrome/browser/extensions/
H A Dapps_promo_unittest.cc7 #include "chrome/browser/prefs/browser_prefs.h"
29 TestingPrefService* prefs() { return &prefs_; } function in class:ExtensionAppsPromo
174 (ShownSectionsHandler::GetShownSections(prefs()) & APPS) != 0);
176 (ShownSectionsHandler::GetShownSections(prefs()) & THUMB) != 0);
180 EXPECT_TRUE((ShownSectionsHandler::GetShownSections(prefs()) &
H A Dtest_extension_prefs.cc16 #include "chrome/browser/prefs/pref_service.h"
17 #include "chrome/browser/prefs/pref_service_mock_builder.h"
18 #include "chrome/browser/prefs/pref_value_store.h"
33 MockExtensionPrefs(PrefService* prefs, argument
36 : ExtensionPrefs(prefs, root_dir, extension_pref_value_map),
/external/chromium/chrome/browser/
H A Dexternal_protocol_handler.cc16 #include "chrome/browser/prefs/pref_service.h"
17 #include "chrome/browser/prefs/scoped_user_pref_update.h"
91 // Check the stored prefs.
96 DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes);
112 // Set in the stored prefs.
117 DictionaryPrefUpdate update_excluded_schemas(pref, prefs::kExcludedSchemes);
175 void ExternalProtocolHandler::RegisterPrefs(PrefService* prefs) { argument
176 prefs->RegisterDictionaryPref(prefs::kExcludedSchemes);
H A Dplugin_data_remover_helper.cc11 #include "chrome/browser/prefs/pref_service.h"
20 explicit Internal(const char* pref_name, PrefService* prefs) argument
21 : pref_name_(pref_name), prefs_(prefs) {}
74 PrefService* prefs,
76 pref_.Init(pref_name, prefs, observer);
79 internal_ = make_scoped_refptr(new Internal(pref_name, prefs));
73 Init(const char* pref_name, PrefService* prefs, NotificationObserver* observer) argument
/external/chromium/chrome/browser/geolocation/
H A Daccess_token_store.cc11 #include "chrome/browser/prefs/pref_service.h"
12 #include "chrome/browser/prefs/scoped_user_pref_update.h"
45 prefs::kGeolocationAccessToken);
72 prefs::kGeolocationAccessToken);
91 void AccessTokenStore::RegisterPrefs(PrefService* prefs) { argument
92 prefs->RegisterDictionaryPref(prefs::kGeolocationAccessToken);
107 // Creates a new access token store backed by the global chome prefs.
H A Dgeolocation_content_settings_map_unittest.cc8 #include "chrome/browser/prefs/pref_service.h"
9 #include "chrome/browser/prefs/scoped_user_pref_update.h"
253 prefs::kGeolocationContentSettings);
303 PrefService* prefs = profile.GetPrefs(); local
304 prefs->SetInteger(prefs::kGeolocationDefaultContentSetting,
/external/chromium/chrome/browser/instant/
H A Dpromo_counter.cc9 #include "chrome/browser/prefs/pref_service.h"
40 void PromoCounter::RegisterUserPrefs(PrefService* prefs, argument
42 prefs->RegisterBooleanPref((base_key + kShowKey).c_str(), true);
43 prefs->RegisterIntegerPref((base_key + kNumSessionsKey).c_str(), 0);
44 prefs->RegisterInt64Pref((base_key + kInitialTimeKey).c_str(), 0);
70 PrefService* prefs = profile_->GetPrefs(); local
71 if (!prefs)
74 show_ = prefs->GetBoolean((pref_key_ + kShowKey).c_str());
81 int session_count = prefs->GetInteger((pref_key_ + kNumSessionsKey).c_str());
83 prefs
[all...]
/external/chromium/chrome/browser/metrics/
H A Dmetrics_log_unittest.cc10 #include "chrome/browser/prefs/browser_prefs.h"
11 #include "chrome/browser/prefs/pref_service.h"
202 TestingPrefService prefs; local
203 browser::RegisterLocalState(&prefs);
205 prefs.SetInteger(prefs::kStabilityChildProcessCrashCount, 10);
206 prefs.SetInteger(prefs::kStabilityOtherUserCrashCount, 11);
207 prefs.SetInteger(prefs
[all...]
/external/chromium/chrome/browser/notifications/
H A Ddesktop_notification_service_unittest.cc12 #include "chrome/browser/prefs/pref_service.h"
13 #include "chrome/browser/prefs/scoped_user_pref_update.h"
200 PrefService* prefs = profile()->GetPrefs(); local
204 prefs, prefs::kDesktopNotificationAllowedOrigins);
211 prefs, prefs::kDesktopNotificationDeniedOrigins);
/external/chromium/chrome/browser/prefs/
H A Dsession_startup_pref.cc5 #include "chrome/browser/prefs/session_startup_pref.h"
13 #include "chrome/browser/prefs/pref_service.h"
14 #include "chrome/browser/prefs/scoped_user_pref_update.h"
20 // For historical reasons the enum and value registered in the prefs don't line
21 // up. These are the values registered in prefs.
26 // Converts a SessionStartupPref::Type to an integer written to prefs.
47 void SessionStartupPref::RegisterUserPrefs(PrefService* prefs) { argument
48 prefs->RegisterIntegerPref(prefs::kRestoreOnStartup,
50 prefs
62 SetStartupPref(PrefService* prefs, const SessionStartupPref& pref) argument
91 GetStartupPref(PrefService* prefs) argument
116 TypeIsManaged(PrefService* prefs) argument
125 URLsAreManaged(PrefService* prefs) argument
[all...]
/external/chromium/chrome/browser/search_engines/
H A Dutil.cc14 #include "chrome/browser/prefs/pref_service.h"
68 PrefService* prefs,
88 TemplateURLPrepopulateData::GetPrepopulatedEngines(prefs,
154 PrefService* prefs,
173 TemplateURLPrepopulateData::GetDataVersion(prefs);
193 MergeEnginesFromPrepopulateData(prefs, service, template_urls,
67 MergeEnginesFromPrepopulateData( PrefService* prefs, WebDataService* service, std::vector<TemplateURL*>* template_urls, const TemplateURL** default_search_provider) argument
151 GetSearchProvidersUsingKeywordResult( const WDTypedResult& result, WebDataService* service, PrefService* prefs, std::vector<TemplateURL*>* template_urls, const TemplateURL** default_search_provider, int* new_resource_keyword_version) argument
/external/chromium/chrome/browser/tabs/
H A Dpinned_tab_codec.cc9 #include "chrome/browser/prefs/pref_service.h"
91 void PinnedTabCodec::RegisterUserPrefs(PrefService* prefs) { argument
92 prefs->RegisterListPref(prefs::kPinnedTabs);
97 PrefService* prefs = profile->GetPrefs(); local
98 if (!prefs)
110 prefs->Set(prefs::kPinnedTabs, values);
111 prefs->ScheduleSavePersistentPrefs();
118 PrefService* prefs local
[all...]
/external/chromium/chrome/browser/ui/search_engines/
H A Dkeyword_editor_controller.cc9 #include "chrome/browser/prefs/pref_service.h"
27 void KeywordEditorController::RegisterPrefs(PrefService* prefs) { argument
28 prefs->RegisterDictionaryPref(prefs::kKeywordEditorWindowPlacement);
/external/chromium/chrome/browser/ui/webui/
H A Dflags_ui.cc13 #include "chrome/browser/prefs/pref_service.h"
192 pref_service->SetBoolean(prefs::kRestartLastSessionOnShutdown, true);
226 void FlagsUI::RegisterPrefs(PrefService* prefs) { argument
227 prefs->RegisterListPref(prefs::kEnabledLabsExperiments);

Completed in 6395 milliseconds

1234567891011>>