OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ |
6 #define CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 6 #define CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 class ShellURLRequestContextGetter; | 25 class ShellURLRequestContextGetter; |
26 | 26 |
27 class ShellBrowserContext : public BrowserContext { | 27 class ShellBrowserContext : public BrowserContext { |
28 public: | 28 public: |
29 ShellBrowserContext(bool off_the_record, net::NetLog* net_log); | 29 ShellBrowserContext(bool off_the_record, net::NetLog* net_log); |
30 virtual ~ShellBrowserContext(); | 30 virtual ~ShellBrowserContext(); |
31 | 31 |
32 // BrowserContext implementation. | 32 // BrowserContext implementation. |
33 virtual base::FilePath GetPath() const OVERRIDE; | 33 virtual base::FilePath GetPath() const OVERRIDE; |
34 virtual bool IsOffTheRecord() const OVERRIDE; | 34 virtual bool IsOffTheRecord() const OVERRIDE; |
| 35 virtual CookieStoreConfig GetCookieStoreConfig() OVERRIDE; |
35 virtual DownloadManagerDelegate* GetDownloadManagerDelegate() OVERRIDE; | 36 virtual DownloadManagerDelegate* GetDownloadManagerDelegate() OVERRIDE; |
36 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 37 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
37 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 38 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
38 int renderer_child_id) OVERRIDE; | 39 int renderer_child_id) OVERRIDE; |
39 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 40 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
40 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 41 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
41 int renderer_child_id) OVERRIDE; | 42 int renderer_child_id) OVERRIDE; |
42 virtual net::URLRequestContextGetter* | 43 virtual net::URLRequestContextGetter* |
43 GetMediaRequestContextForStoragePartition( | 44 GetMediaRequestContextForStoragePartition( |
44 const base::FilePath& partition_path, | 45 const base::FilePath& partition_path, |
(...skipping 29 matching lines...) Expand all Loading... |
74 scoped_ptr<ShellResourceContext> resource_context_; | 75 scoped_ptr<ShellResourceContext> resource_context_; |
75 scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 76 scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_; |
76 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 77 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 79 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace content | 82 } // namespace content |
82 | 83 |
83 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 84 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ |
OLD | NEW |