| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "app/resource_bundle.h" | 8 #include "app/resource_bundle.h" |
| 9 #include "base/base64.h" | 9 #include "base/base64.h" |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/singleton.h" |
| 12 #include "base/string_number_conversions.h" | 13 #include "base/string_number_conversions.h" |
| 13 #include "base/string_util.h" | 14 #include "base/string_util.h" |
| 14 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
| 15 #include "base/thread.h" | 16 #include "base/thread.h" |
| 16 #include "base/version.h" | 17 #include "base/version.h" |
| 17 #include "chrome/browser/browser.h" | 18 #include "chrome/browser/browser.h" |
| 18 #include "chrome/browser/browser_list.h" | 19 #include "chrome/browser/browser_list.h" |
| 19 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 20 #include "chrome/browser/debugger/devtools_manager.h" | 21 #include "chrome/browser/debugger/devtools_manager.h" |
| 21 #include "chrome/browser/debugger/devtools_toggle_action.h" | 22 #include "chrome/browser/debugger/devtools_toggle_action.h" |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 933 // static | 934 // static |
| 934 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() { | 935 RefCountedMemory* ExtensionsUI::GetFaviconResourceBytes() { |
| 935 return ResourceBundle::GetSharedInstance(). | 936 return ResourceBundle::GetSharedInstance(). |
| 936 LoadDataResourceBytes(IDR_PLUGIN); | 937 LoadDataResourceBytes(IDR_PLUGIN); |
| 937 } | 938 } |
| 938 | 939 |
| 939 // static | 940 // static |
| 940 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) { | 941 void ExtensionsUI::RegisterUserPrefs(PrefService* prefs) { |
| 941 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false); | 942 prefs->RegisterBooleanPref(prefs::kExtensionsUIDeveloperMode, false); |
| 942 } | 943 } |
| OLD | NEW |