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

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

Issue 2535713004: extensions: Cleanup class/struct fwd declarations (Closed)
Patch Set: Created 4 years 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_BROWSER_CONTEXT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/shell/browser/shell_browser_context.h" 10 #include "content/shell/browser/shell_browser_context.h"
11 #include "storage/browser/quota/special_storage_policy.h" 11 #include "storage/browser/quota/special_storage_policy.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 class InfoMap;
16 class ShellBrowserMainParts; 15 class ShellBrowserMainParts;
17 class ShellSpecialStoragePolicy;
18 16
19 // The BrowserContext used by the content, apps and extensions systems in 17 // The BrowserContext used by the content, apps and extensions systems in
20 // app_shell. 18 // app_shell.
21 class ShellBrowserContext : public content::ShellBrowserContext { 19 class ShellBrowserContext : public content::ShellBrowserContext {
22 public: 20 public:
23 explicit ShellBrowserContext(ShellBrowserMainParts* browser_main_parts); 21 explicit ShellBrowserContext(ShellBrowserMainParts* browser_main_parts);
24 ~ShellBrowserContext() override; 22 ~ShellBrowserContext() override;
25 23
26 // content::BrowserContext implementation. 24 // content::BrowserContext implementation.
27 content::BrowserPluginGuestManager* GetGuestManager() override; 25 content::BrowserPluginGuestManager* GetGuestManager() override;
28 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 26 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
29 net::URLRequestContextGetter* CreateRequestContext( 27 net::URLRequestContextGetter* CreateRequestContext(
30 content::ProtocolHandlerMap* protocol_handlers, 28 content::ProtocolHandlerMap* protocol_handlers,
31 content::URLRequestInterceptorScopedVector request_interceptors) override; 29 content::URLRequestInterceptorScopedVector request_interceptors) override;
32 30
33 private: 31 private:
34 void InitURLRequestContextOnIOThread(); 32 void InitURLRequestContextOnIOThread();
35 33
36 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; 34 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_;
37 ShellBrowserMainParts* browser_main_parts_; 35 ShellBrowserMainParts* browser_main_parts_;
38 36
39 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); 37 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
40 }; 38 };
41 39
42 } // namespace extensions 40 } // namespace extensions
43 41
44 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ 42 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/desktop_controller.h ('k') | extensions/shell/browser/shell_browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698