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 #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 10 matching lines...) Expand all Loading... |
21 class ShellBrowserMainParts; | 21 class ShellBrowserMainParts; |
22 class ShellDownloadManagerDelegate; | 22 class ShellDownloadManagerDelegate; |
23 | 23 |
24 class ShellBrowserContext : public BrowserContext { | 24 class ShellBrowserContext : public BrowserContext { |
25 public: | 25 public: |
26 explicit ShellBrowserContext(ShellBrowserMainParts* shell_main_parts); | 26 explicit ShellBrowserContext(ShellBrowserMainParts* shell_main_parts); |
27 virtual ~ShellBrowserContext(); | 27 virtual ~ShellBrowserContext(); |
28 | 28 |
29 // BrowserContext implementation. | 29 // BrowserContext implementation. |
30 virtual FilePath GetPath() OVERRIDE; | 30 virtual FilePath GetPath() OVERRIDE; |
31 virtual bool IsOffTheRecord() OVERRIDE; | 31 virtual bool IsOffTheRecord() const OVERRIDE; |
32 virtual DownloadManager* GetDownloadManager() OVERRIDE; | 32 virtual DownloadManager* GetDownloadManager() OVERRIDE; |
33 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 33 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
34 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 34 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
35 int renderer_child_id) OVERRIDE; | 35 int renderer_child_id) OVERRIDE; |
36 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 36 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
37 virtual ResourceContext* GetResourceContext() OVERRIDE; | 37 virtual ResourceContext* GetResourceContext() OVERRIDE; |
38 virtual GeolocationPermissionContext* | 38 virtual GeolocationPermissionContext* |
39 GetGeolocationPermissionContext() OVERRIDE; | 39 GetGeolocationPermissionContext() OVERRIDE; |
40 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; | 40 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; |
41 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 41 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
(...skipping 10 matching lines...) Expand all Loading... |
52 scoped_refptr<SpeechInputPreferences> speech_input_preferences_; | 52 scoped_refptr<SpeechInputPreferences> speech_input_preferences_; |
53 | 53 |
54 ShellBrowserMainParts* shell_main_parts_; | 54 ShellBrowserMainParts* shell_main_parts_; |
55 | 55 |
56 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 56 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
57 }; | 57 }; |
58 | 58 |
59 } // namespace content | 59 } // namespace content |
60 | 60 |
61 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 61 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ |
OLD | NEW |