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

Side by Side Diff: extensions/shell/browser/shell_extension_system.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
« no previous file with comments | « extensions/common/extension.cc ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | 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_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 StateStore* rules_store() override; 56 StateStore* rules_store() override;
57 scoped_refptr<ValueStoreFactory> store_factory() override; 57 scoped_refptr<ValueStoreFactory> store_factory() override;
58 InfoMap* info_map() override; 58 InfoMap* info_map() override;
59 QuotaService* quota_service() override; 59 QuotaService* quota_service() override;
60 AppSorting* app_sorting() override; 60 AppSorting* app_sorting() override;
61 void RegisterExtensionWithRequestContexts( 61 void RegisterExtensionWithRequestContexts(
62 const Extension* extension, 62 const Extension* extension,
63 const base::Closure& callback) override; 63 const base::Closure& callback) override;
64 void UnregisterExtensionWithRequestContexts( 64 void UnregisterExtensionWithRequestContexts(
65 const std::string& extension_id, 65 const std::string& extension_id,
66 const UnloadedExtensionInfo::Reason reason) override; 66 const UnloadedExtensionReason reason) override;
67 const OneShotEvent& ready() const override; 67 const OneShotEvent& ready() const override;
68 ContentVerifier* content_verifier() override; 68 ContentVerifier* content_verifier() override;
69 std::unique_ptr<ExtensionSet> GetDependentExtensions( 69 std::unique_ptr<ExtensionSet> GetDependentExtensions(
70 const Extension* extension) override; 70 const Extension* extension) override;
71 void InstallUpdate(const std::string& extension_id, 71 void InstallUpdate(const std::string& extension_id,
72 const base::FilePath& temp_dir) override; 72 const base::FilePath& temp_dir) override;
73 73
74 private: 74 private:
75 void OnExtensionRegisteredWithRequestContexts( 75 void OnExtensionRegisteredWithRequestContexts(
76 scoped_refptr<Extension> extension); 76 scoped_refptr<Extension> extension);
(...skipping 13 matching lines...) Expand all
90 OneShotEvent ready_; 90 OneShotEvent ready_;
91 91
92 base::WeakPtrFactory<ShellExtensionSystem> weak_factory_; 92 base::WeakPtrFactory<ShellExtensionSystem> weak_factory_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); 94 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem);
95 }; 95 };
96 96
97 } // namespace extensions 97 } // namespace extensions
98 98
99 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 99 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/common/extension.cc ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698