| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |