Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Unified Diff: components/policy/core/common/cloud/cloud_policy_core.cc

Issue 2779893005: Continue to clean c_str() calls. (Closed)
Patch Set: Revert changes in font_service_app.cc Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/omnibox/browser/omnibox_edit_model.cc ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/core/common/cloud/cloud_policy_core.cc
diff --git a/components/policy/core/common/cloud/cloud_policy_core.cc b/components/policy/core/common/cloud/cloud_policy_core.cc
index d6f75037ad94910c823b480bbe6e6af2d3064a09..471a6552a1988d0766b418f7a75ea7586149a1dd 100644
--- a/components/policy/core/common/cloud/cloud_policy_core.cc
+++ b/components/policy/core/common/cloud/cloud_policy_core.cc
@@ -92,10 +92,9 @@ void CloudPolicyCore::TrackRefreshDelayPref(
PrefService* pref_service,
const std::string& refresh_pref_name) {
refresh_delay_.reset(new IntegerPrefMember());
- refresh_delay_->Init(
- refresh_pref_name.c_str(), pref_service,
- base::Bind(&CloudPolicyCore::UpdateRefreshDelayFromPref,
- base::Unretained(this)));
+ refresh_delay_->Init(refresh_pref_name, pref_service,
+ base::Bind(&CloudPolicyCore::UpdateRefreshDelayFromPref,
+ base::Unretained(this)));
UpdateRefreshDelayFromPref();
}
« no previous file with comments | « components/omnibox/browser/omnibox_edit_model.cc ('k') | components/prefs/pref_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698