Home
last modified time | relevance | path

Searched refs:service_prefs_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/chrome/service/cloud_print/
Dcloud_print_proxy.cc66 : service_prefs_(NULL), in CloudPrintProxy()
79 service_prefs_ = service_prefs; in Initialize()
90 std::string robot_refresh_token = service_prefs_->GetString( in EnableForUser()
93 service_prefs_->GetString(prefs::kCloudPrintRobotEmail, std::string()); in EnableForUser()
94 user_email_ = service_prefs_->GetString(prefs::kCloudPrintEmail, user_email_); in EnableForUser()
103 service_prefs_->GetString(prefs::kCloudPrintAuthToken, std::string()); in EnableForUser()
121 service_prefs_->GetString(prefs::kCloudPrintProxyId, std::string())); in EnableForUserWithRobot()
122 service_prefs_->RemovePref(prefs::kCloudPrintRoot); in EnableForUserWithRobot()
125 service_prefs_->SetString(prefs::kCloudPrintProxyId, proxy_id); in EnableForUserWithRobot()
127 service_prefs_->SetValue(prefs::kCloudPrintUserSettings, in EnableForUserWithRobot()
[all …]
Dcloud_print_proxy.h87 ServiceProcessPrefs* service_prefs_; variable
/external/chromium_org/chrome/service/
Dservice_process.cc156 service_prefs_.reset(new ServiceProcessPrefs( in Initialize()
160 service_prefs_->ReadPrefs(); in Initialize()
169 service_prefs_->SetString(prefs::kApplicationLocale, locale); in Initialize()
170 service_prefs_->WritePrefs(); in Initialize()
175 service_prefs_->GetString(prefs::kApplicationLocale, std::string()); in Initialize()
188 service_prefs_->GetBoolean(prefs::kCloudPrintProxyEnabled, false)) { in Initialize()
215 service_prefs_.reset(); in Teardown()
280 cloud_print_proxy_->Initialize(service_prefs_.get(), this); in GetCloudPrintProxy()
288 service_prefs_->SetBoolean(prefs::kCloudPrintProxyEnabled, true); in OnCloudPrintProxyEnabled()
289 service_prefs_->WritePrefs(); in OnCloudPrintProxyEnabled()
[all …]
Dservice_process.h130 scoped_ptr<ServiceProcessPrefs> service_prefs_; variable