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

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

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_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/compiler_specific.h" 8 #include "base/compiler_specific.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 net { 13 namespace net {
14 class NetLog; 14 class NetLog;
15 } 15 }
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 class InfoMap; 19 class InfoMap;
20 class ShellSpecialStoragePolicy; 20 class ShellSpecialStoragePolicy;
21 21
22 // The BrowserContext used by the content, apps and extensions systems in 22 // The BrowserContext used by the content, apps and extensions systems in
23 // app_shell. 23 // app_shell.
24 class ShellBrowserContext : public content::ShellBrowserContext { 24 class ShellBrowserContext : public content::ShellBrowserContext {
25 public: 25 public:
26 explicit ShellBrowserContext(net::NetLog* net_log); 26 explicit ShellBrowserContext(net::NetLog* net_log);
27 virtual ~ShellBrowserContext(); 27 virtual ~ShellBrowserContext();
28 28
29 // content::BrowserContext implementation. 29 // content::BrowserContext implementation.
30 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 30 virtual content::BrowserPluginGuestManager* GetGuestManager() override;
31 virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 31 virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
32 32
33 net::URLRequestContextGetter* CreateRequestContext( 33 net::URLRequestContextGetter* CreateRequestContext(
34 content::ProtocolHandlerMap* protocol_handlers, 34 content::ProtocolHandlerMap* protocol_handlers,
35 content::URLRequestInterceptorScopedVector request_interceptors, 35 content::URLRequestInterceptorScopedVector request_interceptors,
36 InfoMap* extension_info_map); 36 InfoMap* extension_info_map);
37 37
38 // HACK: Pad the virtual function table so we trip an assertion if someone 38 // HACK: Pad the virtual function table so we trip an assertion if someone
39 // tries to use |this| as a Profile. 39 // tries to use |this| as a Profile.
40 virtual void ProfileFunctionCallOnNonProfileBrowserContext1(); 40 virtual void ProfileFunctionCallOnNonProfileBrowserContext1();
41 virtual void ProfileFunctionCallOnNonProfileBrowserContext2(); 41 virtual void ProfileFunctionCallOnNonProfileBrowserContext2();
(...skipping 18 matching lines...) Expand all
60 bool ignore_certificate_errors_; 60 bool ignore_certificate_errors_;
61 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; 61 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_;
62 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_; 62 scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
63 63
64 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); 64 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext);
65 }; 65 };
66 66
67 } // namespace extensions 67 } // namespace extensions
68 68
69 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ 69 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_audio_controller_chromeos.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