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

Side by Side Diff: extensions/browser/process_manager_observer.h

Issue 1066583002: Add missing ExtensionHost forward declaration to ProcessManagerObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_PROCESS_MANAGER_OBSERVER_H_ 5 #ifndef EXTENSIONS_BROWSER_PROCESS_MANAGER_OBSERVER_H_
6 #define EXTENSIONS_BROWSER_PROCESS_MANAGER_OBSERVER_H_ 6 #define EXTENSIONS_BROWSER_PROCESS_MANAGER_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace extensions { 10 namespace extensions {
11 class Extension; 11 class Extension;
12 class ExtensionHost;
12 13
13 class ProcessManagerObserver { 14 class ProcessManagerObserver {
14 public: 15 public:
15 // Called immediately after an extension background host is started. 16 // Called immediately after an extension background host is started.
16 virtual void OnBackgroundHostStartup(const Extension* extension) {} 17 virtual void OnBackgroundHostStartup(const Extension* extension) {}
17 18
18 // Called immediately after an ExtensionHost for an extension with a lazy 19 // Called immediately after an ExtensionHost for an extension with a lazy
19 // background page is created. 20 // background page is created.
20 virtual void OnBackgroundHostCreated(ExtensionHost* host) {} 21 virtual void OnBackgroundHostCreated(ExtensionHost* host) {}
21 22
22 // Called immediately after the extension background host is destroyed. 23 // Called immediately after the extension background host is destroyed.
23 virtual void OnBackgroundHostClose(const std::string& extension_id) {} 24 virtual void OnBackgroundHostClose(const std::string& extension_id) {}
24 }; 25 };
25 26
26 } // namespace extensions 27 } // namespace extensions
27 28
28 #endif // EXTENSIONS_BROWSER_PROCESS_MANAGER_OBSERVER_H_ 29 #endif // EXTENSIONS_BROWSER_PROCESS_MANAGER_OBSERVER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698