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

Side by Side Diff: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_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_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__
6 #define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__ 6 #define CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MANAGE R_H__
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ~SignedInDevicesManager() override; 66 ~SignedInDevicesManager() override;
67 67
68 // BrowserContextKeyedAPI implementation. 68 // BrowserContextKeyedAPI implementation.
69 static BrowserContextKeyedAPIFactory<SignedInDevicesManager>* 69 static BrowserContextKeyedAPIFactory<SignedInDevicesManager>*
70 GetFactoryInstance(); 70 GetFactoryInstance();
71 void Shutdown() override; 71 void Shutdown() override;
72 72
73 // ExtensionRegistryObserver implementation. 73 // ExtensionRegistryObserver implementation.
74 void OnExtensionUnloaded(content::BrowserContext* browser_context, 74 void OnExtensionUnloaded(content::BrowserContext* browser_context,
75 const Extension* extension, 75 const Extension* extension,
76 UnloadedExtensionInfo::Reason reason) override; 76 UnloadedExtensionReason reason) override;
77 77
78 // EventRouter::Observer: 78 // EventRouter::Observer:
79 void OnListenerAdded(const EventListenerInfo& details) override; 79 void OnListenerAdded(const EventListenerInfo& details) override;
80 void OnListenerRemoved(const EventListenerInfo& details) override; 80 void OnListenerRemoved(const EventListenerInfo& details) override;
81 81
82 private: 82 private:
83 friend class BrowserContextKeyedAPIFactory<SignedInDevicesManager>; 83 friend class BrowserContextKeyedAPIFactory<SignedInDevicesManager>;
84 84
85 // BrowserContextKeyedAPI implementation. 85 // BrowserContextKeyedAPI implementation.
86 static const char* service_name() { 86 static const char* service_name() {
(...skipping 11 matching lines...) Expand all
98 extension_registry_observer_; 98 extension_registry_observer_;
99 99
100 FRIEND_TEST_ALL_PREFIXES(SignedInDevicesManager, UpdateListener); 100 FRIEND_TEST_ALL_PREFIXES(SignedInDevicesManager, UpdateListener);
101 101
102 DISALLOW_COPY_AND_ASSIGN(SignedInDevicesManager); 102 DISALLOW_COPY_AND_ASSIGN(SignedInDevicesManager);
103 }; 103 };
104 104
105 } // namespace extensions 105 } // namespace extensions
106 106
107 #endif // CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MAN AGER_H__ 107 #endif // CHROME_BROWSER_EXTENSIONS_API_SIGNED_IN_DEVICES_SIGNED_IN_DEVICES_MAN AGER_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698