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

Side by Side Diff: extensions/shell/browser/shell_extension_system.h

Issue 2881453002: DNR Prototype: With flatbuffers
Patch Set: -- Created 3 years, 6 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_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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 UnloadedExtensionReason 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 declarative_net_request::RulesMonitor* rules_monitor() override;
69 std::unique_ptr<ExtensionSet> GetDependentExtensions( 70 std::unique_ptr<ExtensionSet> GetDependentExtensions(
70 const Extension* extension) override; 71 const Extension* extension) override;
71 void InstallUpdate(const std::string& extension_id, 72 void InstallUpdate(const std::string& extension_id,
72 const base::FilePath& temp_dir) override; 73 const base::FilePath& temp_dir) override;
73 74
74 private: 75 private:
75 void OnExtensionRegisteredWithRequestContexts( 76 void OnExtensionRegisteredWithRequestContexts(
76 scoped_refptr<Extension> extension); 77 scoped_refptr<Extension> extension);
77 content::BrowserContext* browser_context_; // Not owned. 78 content::BrowserContext* browser_context_; // Not owned.
78 79
(...skipping 11 matching lines...) Expand all
90 OneShotEvent ready_; 91 OneShotEvent ready_;
91 92
92 base::WeakPtrFactory<ShellExtensionSystem> weak_factory_; 93 base::WeakPtrFactory<ShellExtensionSystem> weak_factory_;
93 94
94 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); 95 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem);
95 }; 96 };
96 97
97 } // namespace extensions 98 } // namespace extensions
98 99
99 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ 100 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « extensions/common/permissions/extensions_api_permissions.cc ('k') | extensions/shell/browser/shell_extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698