| 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 ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "android_webview/browser/aw_download_manager_delegate.h" | 10 #include "android_webview/browser/aw_download_manager_delegate.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 content::ProtocolHandlerMap* protocol_handlers); | 70 content::ProtocolHandlerMap* protocol_handlers); |
| 71 | 71 |
| 72 AwQuotaManagerBridge* GetQuotaManagerBridge(); | 72 AwQuotaManagerBridge* GetQuotaManagerBridge(); |
| 73 | 73 |
| 74 AwFormDatabaseService* GetFormDatabaseService(); | 74 AwFormDatabaseService* GetFormDatabaseService(); |
| 75 void CreateUserPrefServiceIfNecessary(); | 75 void CreateUserPrefServiceIfNecessary(); |
| 76 | 76 |
| 77 // content::BrowserContext implementation. | 77 // content::BrowserContext implementation. |
| 78 virtual base::FilePath GetPath() const OVERRIDE; | 78 virtual base::FilePath GetPath() const OVERRIDE; |
| 79 virtual bool IsOffTheRecord() const OVERRIDE; | 79 virtual bool IsOffTheRecord() const OVERRIDE; |
| 80 virtual CookieStoreConfig GetCookieStoreConfig() OVERRIDE; |
| 80 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 81 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 81 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 82 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 82 int renderer_child_id) OVERRIDE; | 83 int renderer_child_id) OVERRIDE; |
| 83 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 84 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 85 int renderer_child_id) OVERRIDE; | 86 int renderer_child_id) OVERRIDE; |
| 86 virtual net::URLRequestContextGetter* | 87 virtual net::URLRequestContextGetter* |
| 87 GetMediaRequestContextForStoragePartition( | 88 GetMediaRequestContextForStoragePartition( |
| 88 const base::FilePath& partition_path, bool in_memory) OVERRIDE; | 89 const base::FilePath& partition_path, bool in_memory) OVERRIDE; |
| 89 virtual void RequestMIDISysExPermission( | 90 virtual void RequestMIDISysExPermission( |
| (...skipping 29 matching lines...) Expand all Loading... |
| 119 scoped_ptr<content::ResourceContext> resource_context_; | 120 scoped_ptr<content::ResourceContext> resource_context_; |
| 120 | 121 |
| 121 bool user_pref_service_ready_; | 122 bool user_pref_service_ready_; |
| 122 | 123 |
| 123 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); | 124 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 } // namespace android_webview | 127 } // namespace android_webview |
| 127 | 128 |
| 128 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ | 129 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ |
| OLD | NEW |