| 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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 } | 832 } |
| 833 | 833 |
| 834 // static | 834 // static |
| 835 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() { | 835 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() { |
| 836 return ResourceBundle::GetSharedInstance(). | 836 return ResourceBundle::GetSharedInstance(). |
| 837 LoadDataResourceBytes(IDR_PLUGIN); | 837 LoadDataResourceBytes(IDR_PLUGIN); |
| 838 } | 838 } |
| 839 | 839 |
| 840 // static | 840 // static |
| 841 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) { | 841 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) { |
| 842 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false); | 842 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, |
| 843 false, |
| 844 PrefService::SYNCABLE_PREF); |
| 843 } | 845 } |
| OLD | NEW |