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

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

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Enum class 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 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_TEST_EXTENSION_REGISTRY_OBSERVER_H_ 5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSION_REGISTRY_OBSERVER_H_
6 #define EXTENSIONS_BROWSER_TEST_EXTENSION_REGISTRY_OBSERVER_H_ 6 #define EXTENSIONS_BROWSER_TEST_EXTENSION_REGISTRY_OBSERVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 const Extension* extension, 40 const Extension* extension,
41 bool is_update, 41 bool is_update,
42 const std::string& old_name) override; 42 const std::string& old_name) override;
43 void OnExtensionUninstalled(content::BrowserContext* browser_context, 43 void OnExtensionUninstalled(content::BrowserContext* browser_context,
44 const Extension* extension, 44 const Extension* extension,
45 extensions::UninstallReason reason) override; 45 extensions::UninstallReason reason) override;
46 void OnExtensionLoaded(content::BrowserContext* browser_context, 46 void OnExtensionLoaded(content::BrowserContext* browser_context,
47 const Extension* extension) override; 47 const Extension* extension) override;
48 void OnExtensionUnloaded(content::BrowserContext* browser_context, 48 void OnExtensionUnloaded(content::BrowserContext* browser_context,
49 const Extension* extension, 49 const Extension* extension,
50 UnloadedExtensionInfo::Reason reason) override; 50 UnloadedExtensionReason reason) override;
51 51
52 const Extension* Wait(std::unique_ptr<Waiter>* waiter); 52 const Extension* Wait(std::unique_ptr<Waiter>* waiter);
53 53
54 std::unique_ptr<Waiter> will_be_installed_waiter_; 54 std::unique_ptr<Waiter> will_be_installed_waiter_;
55 std::unique_ptr<Waiter> uninstalled_waiter_; 55 std::unique_ptr<Waiter> uninstalled_waiter_;
56 std::unique_ptr<Waiter> loaded_waiter_; 56 std::unique_ptr<Waiter> loaded_waiter_;
57 std::unique_ptr<Waiter> unloaded_waiter_; 57 std::unique_ptr<Waiter> unloaded_waiter_;
58 58
59 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> 59 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
60 extension_registry_observer_; 60 extension_registry_observer_;
61 61
62 std::string extension_id_; 62 std::string extension_id_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(TestExtensionRegistryObserver); 64 DISALLOW_COPY_AND_ASSIGN(TestExtensionRegistryObserver);
65 }; 65 };
66 66
67 } // namespace extensions 67 } // namespace extensions
68 68
69 #endif // EXTENSIONS_BROWSER_TEST_EXTENSION_REGISTRY_OBSERVER_H_ 69 #endif // EXTENSIONS_BROWSER_TEST_EXTENSION_REGISTRY_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698