| 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 19 matching lines...) Expand all Loading... |
| 30 virtual FilePath GetPath() OVERRIDE; | 30 virtual FilePath GetPath() OVERRIDE; |
| 31 virtual bool IsOffTheRecord() const 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 SpeechRecognitionPreferences* |
| 41 GetSpeechRecognitionPreferences() OVERRIDE; |
| 41 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 42 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
| 42 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 43 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 43 | 44 |
| 44 private: | 45 private: |
| 45 | 46 |
| 46 FilePath path_; | 47 FilePath path_; |
| 47 scoped_ptr<ResourceContext> resource_context_; | 48 scoped_ptr<ResourceContext> resource_context_; |
| 48 scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 49 scoped_refptr<ShellDownloadManagerDelegate> download_manager_delegate_; |
| 49 scoped_refptr<DownloadManager> download_manager_; | 50 scoped_refptr<DownloadManager> download_manager_; |
| 50 scoped_refptr<net::URLRequestContextGetter> url_request_getter_; | 51 scoped_refptr<net::URLRequestContextGetter> url_request_getter_; |
| 51 scoped_refptr<GeolocationPermissionContext> geolocation_permission_context_; | 52 scoped_refptr<GeolocationPermissionContext> geolocation_permission_context_; |
| 52 scoped_refptr<SpeechInputPreferences> speech_input_preferences_; | 53 scoped_refptr<SpeechRecognitionPreferences> speech_recognition_preferences_; |
| 53 | 54 |
| 54 ShellBrowserMainParts* shell_main_parts_; | 55 ShellBrowserMainParts* shell_main_parts_; |
| 55 | 56 |
| 56 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 57 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
| 57 }; | 58 }; |
| 58 | 59 |
| 59 } // namespace content | 60 } // namespace content |
| 60 | 61 |
| 61 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ | 62 #endif // CONTENT_SHELL_SHELL_BROWSER_CONTEXT_H_ |
| OLD | NEW |