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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/webui/extensions/extension_settings_handler.h" 5 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/public/browser/web_contents_view.h" 47 #include "content/public/browser/web_contents_view.h"
48 #include "grit/browser_resources.h" 48 #include "grit/browser_resources.h"
49 #include "grit/chromium_strings.h" 49 #include "grit/chromium_strings.h"
50 #include "grit/generated_resources.h" 50 #include "grit/generated_resources.h"
51 #include "grit/theme_resources.h" 51 #include "grit/theme_resources.h"
52 #include "ui/base/l10n/l10n_util.h" 52 #include "ui/base/l10n/l10n_util.h"
53 #include "ui/base/resource/resource_bundle.h" 53 #include "ui/base/resource/resource_bundle.h"
54 54
55 using content::RenderViewHost; 55 using content::RenderViewHost;
56 using content::WebContents; 56 using content::WebContents;
57 using extensions::Extension;
57 using extensions::ExtensionUpdater; 58 using extensions::ExtensionUpdater;
58 59
59 /////////////////////////////////////////////////////////////////////////////// 60 ///////////////////////////////////////////////////////////////////////////////
60 // 61 //
61 // ExtensionSettingsHandler 62 // ExtensionSettingsHandler
62 // 63 //
63 /////////////////////////////////////////////////////////////////////////////// 64 ///////////////////////////////////////////////////////////////////////////////
64 65
65 ExtensionSettingsHandler::ExtensionSettingsHandler() 66 ExtensionSettingsHandler::ExtensionSettingsHandler()
66 : extension_service_(NULL), 67 : extension_service_(NULL),
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 return extension_uninstall_dialog_.get(); 823 return extension_uninstall_dialog_.get();
823 #else 824 #else
824 return NULL; 825 return NULL;
825 #endif // !defined(OS_ANDROID) 826 #endif // !defined(OS_ANDROID)
826 } 827 }
827 828
828 void ExtensionSettingsHandler::InspectExtensionHost(ExtensionHost* host) { 829 void ExtensionSettingsHandler::InspectExtensionHost(ExtensionHost* host) {
829 if (host) 830 if (host)
830 DevToolsWindow::OpenDevToolsWindow(host->render_view_host()); 831 DevToolsWindow::OpenDevToolsWindow(host->render_view_host());
831 } 832 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/extension_settings_handler.h ('k') | chrome/browser/ui/webui/inspect_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698