OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 class ShellBrowserContext : public BrowserContext { | 28 class ShellBrowserContext : public BrowserContext { |
29 public: | 29 public: |
30 explicit ShellBrowserContext(ShellBrowserMainParts* shell_main_parts); | 30 explicit ShellBrowserContext(ShellBrowserMainParts* shell_main_parts); |
31 virtual ~ShellBrowserContext(); | 31 virtual ~ShellBrowserContext(); |
32 | 32 |
33 // BrowserContext implementation. | 33 // BrowserContext implementation. |
34 virtual FilePath GetPath() OVERRIDE; | 34 virtual FilePath GetPath() OVERRIDE; |
35 virtual bool IsOffTheRecord() OVERRIDE; | 35 virtual bool IsOffTheRecord() OVERRIDE; |
36 virtual SSLHostState* GetSSLHostState() OVERRIDE; | 36 virtual SSLHostState* GetSSLHostState() OVERRIDE; |
37 virtual DownloadManager* GetDownloadManager() OVERRIDE; | 37 virtual DownloadManager* GetDownloadManager() OVERRIDE; |
38 virtual bool HasCreatedDownloadManager() const OVERRIDE; | |
39 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 38 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
40 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 39 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
41 int renderer_child_id) OVERRIDE; | 40 int renderer_child_id) OVERRIDE; |
42 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 41 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
43 virtual const ResourceContext& GetResourceContext() OVERRIDE; | 42 virtual const ResourceContext& GetResourceContext() OVERRIDE; |
44 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; | 43 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; |
45 virtual GeolocationPermissionContext* | 44 virtual GeolocationPermissionContext* |
46 GetGeolocationPermissionContext() OVERRIDE; | 45 GetGeolocationPermissionContext() OVERRIDE; |
47 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; | 46 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; |
48 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 47 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
(...skipping 25 matching lines...) Expand all Loading... |
74 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; | 73 scoped_refptr<ChromeBlobStorageContext> blob_storage_context_; |
75 | 74 |
76 ShellBrowserMainParts* shell_main_parts_; | 75 ShellBrowserMainParts* shell_main_parts_; |
77 | 76 |
78 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 77 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
79 }; | 78 }; |
80 | 79 |
81 } // namespace content | 80 } // namespace content |
82 | 81 |
83 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 82 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ |
OLD | NEW |