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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_info_ui.h

Issue 671653002: Standardize usage of virtual/override/final in chrome/browser/ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_INFO_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_INFO_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_INFO_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_INFO_UI_H_
7 7
8 #include "content/public/browser/web_ui_controller.h" 8 #include "content/public/browser/web_ui_controller.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 // WebUI controller for the informative bubble shown on clicking a script badge. 22 // WebUI controller for the informative bubble shown on clicking a script badge.
23 class ExtensionInfoUI : public content::WebUIController { 23 class ExtensionInfoUI : public content::WebUIController {
24 public: 24 public:
25 explicit ExtensionInfoUI(content::WebUI* web_ui, const GURL& url); 25 explicit ExtensionInfoUI(content::WebUI* web_ui, const GURL& url);
26 26
27 // Returns the chrome://extension-info/ URL for this extension. 27 // Returns the chrome://extension-info/ URL for this extension.
28 static GURL GetURL(const std::string& extension_id); 28 static GURL GetURL(const std::string& extension_id);
29 29
30 private: 30 private:
31 virtual ~ExtensionInfoUI(); 31 ~ExtensionInfoUI() override;
32 32
33 // Load details about the extension into source_. Called during construction. 33 // Load details about the extension into source_. Called during construction.
34 void AddExtensionDataToSource(const std::string& extension_id); 34 void AddExtensionDataToSource(const std::string& extension_id);
35 35
36 content::WebUIDataSource* source_; 36 content::WebUIDataSource* source_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoUI); 38 DISALLOW_COPY_AND_ASSIGN(ExtensionInfoUI);
39 }; 39 };
40 40
41 } // namespace extensions 41 } // namespace extensions
42 42
43 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_INFO_UI_H_ 43 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_INFO_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698