Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 "extensions/shell/browser/shell_url_request_context_getter.h" | |
|
James Cook
2014/10/07 16:24:54
Do you need this include?
Xi Han
2014/10/07 19:29:53
Removed.
On 2014/10/07 16:24:54, James Cook wrote
| |
| 11 #include "storage/browser/quota/special_storage_policy.h" | 12 #include "storage/browser/quota/special_storage_policy.h" |
| 12 | 13 |
| 13 namespace net { | 14 namespace net { |
| 14 class NetLog; | 15 class NetLog; |
| 15 } | 16 } |
| 16 | 17 |
| 17 namespace extensions { | 18 namespace extensions { |
| 18 | 19 |
| 19 class InfoMap; | 20 class InfoMap; |
| 20 class ShellSpecialStoragePolicy; | 21 class ShellSpecialStoragePolicy; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 52 virtual void ProfileFunctionCallOnNonProfileBrowserContext13(); | 53 virtual void ProfileFunctionCallOnNonProfileBrowserContext13(); |
| 53 virtual void ProfileFunctionCallOnNonProfileBrowserContext14(); | 54 virtual void ProfileFunctionCallOnNonProfileBrowserContext14(); |
| 54 virtual void ProfileFunctionCallOnNonProfileBrowserContext15(); | 55 virtual void ProfileFunctionCallOnNonProfileBrowserContext15(); |
| 55 | 56 |
| 56 private: | 57 private: |
| 57 void Init(); | 58 void Init(); |
| 58 void InitializationOnIOThread(); | 59 void InitializationOnIOThread(); |
| 59 net::NetLog* net_log_; | 60 net::NetLog* net_log_; |
| 60 bool ignore_certificate_errors_; | 61 bool ignore_certificate_errors_; |
| 61 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; | 62 scoped_refptr<storage::SpecialStoragePolicy> storage_policy_; |
| 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_ |
| OLD | NEW |