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

Side by Side Diff: chrome/browser/extensions/plugin_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EXTENSIONS_PLUGIN_MANAGER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_
6 #define CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 extensions::NaClModuleInfo::List::iterator FindNaClModule(const GURL& url); 53 extensions::NaClModuleInfo::List::iterator FindNaClModule(const GURL& url);
54 54
55 #endif // !defined(DISABLE_NACL) 55 #endif // !defined(DISABLE_NACL)
56 56
57 // ExtensionRegistryObserver implementation. 57 // ExtensionRegistryObserver implementation.
58 void OnExtensionLoaded(content::BrowserContext* browser_context, 58 void OnExtensionLoaded(content::BrowserContext* browser_context,
59 const Extension* extension) override; 59 const Extension* extension) override;
60 void OnExtensionUnloaded(content::BrowserContext* browser_context, 60 void OnExtensionUnloaded(content::BrowserContext* browser_context,
61 const Extension* extension, 61 const Extension* extension,
62 UnloadedExtensionInfo::Reason reason) override; 62 UnloadedExtensionReason reason) override;
63 63
64 // BrowserContextKeyedAPI implementation. 64 // BrowserContextKeyedAPI implementation.
65 static const char* service_name() { return "PluginManager"; } 65 static const char* service_name() { return "PluginManager"; }
66 static const bool kServiceIsNULLWhileTesting = true; 66 static const bool kServiceIsNULLWhileTesting = true;
67 67
68 extensions::NaClModuleInfo::List nacl_module_list_; 68 extensions::NaClModuleInfo::List nacl_module_list_;
69 69
70 Profile* profile_; 70 Profile* profile_;
71 71
72 // Listen to extension load, unloaded notifications. 72 // Listen to extension load, unloaded notifications.
73 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> 73 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
74 extension_registry_observer_; 74 extension_registry_observer_;
75 }; 75 };
76 76
77 } // namespace extensions 77 } // namespace extensions
78 78
79 #endif // CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_ 79 #endif // CHROME_BROWSER_EXTENSIONS_PLUGIN_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/menu_manager_unittest.cc ('k') | chrome/browser/extensions/plugin_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698