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

Side by Side Diff: chrome/browser/ui/webui/uber/uber_ui.h

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 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 #ifndef CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class UberFrameUI : public content::WebUIController, 70 class UberFrameUI : public content::WebUIController,
71 public extensions::ExtensionRegistryObserver { 71 public extensions::ExtensionRegistryObserver {
72 public: 72 public:
73 explicit UberFrameUI(content::WebUI* web_ui); 73 explicit UberFrameUI(content::WebUI* web_ui);
74 ~UberFrameUI() override; 74 ~UberFrameUI() override;
75 75
76 private: 76 private:
77 // extensions::ExtensionRegistryObserver implementation. 77 // extensions::ExtensionRegistryObserver implementation.
78 void OnExtensionLoaded(content::BrowserContext* browser_context, 78 void OnExtensionLoaded(content::BrowserContext* browser_context,
79 const extensions::Extension* extension) override; 79 const extensions::Extension* extension) override;
80 void OnExtensionUnloaded( 80 void OnExtensionUnloaded(content::BrowserContext* browser_context,
81 content::BrowserContext* browser_context, 81 const extensions::Extension* extension,
82 const extensions::Extension* extension, 82 extensions::UnloadedExtensionReason reason) override;
83 extensions::UnloadedExtensionInfo::Reason reason) override;
84 83
85 ScopedObserver<extensions::ExtensionRegistry, 84 ScopedObserver<extensions::ExtensionRegistry,
86 extensions::ExtensionRegistryObserver> 85 extensions::ExtensionRegistryObserver>
87 extension_registry_observer_; 86 extension_registry_observer_;
88 87
89 DISALLOW_COPY_AND_ASSIGN(UberFrameUI); 88 DISALLOW_COPY_AND_ASSIGN(UberFrameUI);
90 }; 89 };
91 90
92 #endif // CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ 91 #endif // CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698