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

Side by Side Diff: chrome/browser/ui/webui/options/extension_settings_handler.cc

Issue 6905044: Refactor preference syncing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Really fix. And rebase Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/extensions/extensions_ui.h" 5 #include "chrome/browser/extensions/extensions_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/base64.h" 9 #include "base/base64.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 } 912 }
913 913
914 // static 914 // static
915 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() { 915 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() {
916 return ResourceBundle::GetSharedInstance(). 916 return ResourceBundle::GetSharedInstance().
917 LoadDataResourceBytes(IDR_PLUGIN); 917 LoadDataResourceBytes(IDR_PLUGIN);
918 } 918 }
919 919
920 // static 920 // static
921 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) { 921 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) {
922 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false); 922 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode,
923 false,
924 PrefService::SYNCABLE_PREF);
923 } 925 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/shown_sections_handler.cc ('k') | chrome/browser/ui/webui/plugins_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698