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

Unified Diff: chrome/browser/ui/window_snapshot/window_snapshot.cc

Issue 11570009: Split PrefService into PrefService, PrefServiceSimple and PrefServiceSyncable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WIP, latest changes from kaiwang@ Created 8 years 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
Index: chrome/browser/ui/window_snapshot/window_snapshot.cc
diff --git a/chrome/browser/ui/window_snapshot/window_snapshot.cc b/chrome/browser/ui/window_snapshot/window_snapshot.cc
index ed0419745fa222d4aa4190e24faaae10fad1d6e2..ec8adcb7a72930d78f43a025759a5bf0d0c48c45 100644
--- a/chrome/browser/ui/window_snapshot/window_snapshot.cc
+++ b/chrome/browser/ui/window_snapshot/window_snapshot.cc
@@ -20,7 +20,7 @@ bool GrabWindowSnapshotForUser(
snapshot_bounds);
}
-void RegisterScreenshotPrefs(PrefService* service) {
+void RegisterScreenshotPrefs(PrefServiceSimple* service) {
service->RegisterBooleanPref(prefs::kDisableScreenshots, false);
}

Powered by Google App Engine
This is Rietveld 408576698