Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: android_webview/browser/aw_browser_context.cc

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a merging of removed variable. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « android_webview/browser/aw_browser_context.h ('k') | chrome/browser/extensions/data_deleter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "android_webview/browser/aw_browser_context.h" 5 #include "android_webview/browser/aw_browser_context.h"
6 6
7 #include "android_webview/browser/net/aw_url_request_context_getter.h" 7 #include "android_webview/browser/net/aw_url_request_context_getter.h"
8 8
9 namespace android_webview { 9 namespace android_webview {
10 10
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 36
37 net::URLRequestContextGetter* 37 net::URLRequestContextGetter*
38 AwBrowserContext::GetRequestContextForRenderProcess( 38 AwBrowserContext::GetRequestContextForRenderProcess(
39 int renderer_child_id) { 39 int renderer_child_id) {
40 return GetRequestContext(); 40 return GetRequestContext();
41 } 41 }
42 42
43 net::URLRequestContextGetter* 43 net::URLRequestContextGetter*
44 AwBrowserContext::GetRequestContextForStoragePartition( 44 AwBrowserContext::GetRequestContextForStoragePartition(
45 const std::string& partition_id) { 45 const FilePath& partition_path,
46 bool in_memory) {
46 return GetRequestContext(); 47 return GetRequestContext();
47 } 48 }
48 49
49 net::URLRequestContextGetter* AwBrowserContext::GetMediaRequestContext() { 50 net::URLRequestContextGetter* AwBrowserContext::GetMediaRequestContext() {
50 return GetRequestContext(); 51 return GetRequestContext();
51 } 52 }
52 53
53 net::URLRequestContextGetter* 54 net::URLRequestContextGetter*
54 AwBrowserContext::GetMediaRequestContextForRenderProcess( 55 AwBrowserContext::GetMediaRequestContextForRenderProcess(
55 int renderer_child_id) { 56 int renderer_child_id) {
56 return GetRequestContext(); 57 return GetRequestContext();
57 } 58 }
58 59
59 net::URLRequestContextGetter* 60 net::URLRequestContextGetter*
60 AwBrowserContext::GetMediaRequestContextForStoragePartition( 61 AwBrowserContext::GetMediaRequestContextForStoragePartition(
61 const std::string& partition_id) { 62 const FilePath& partition_path,
63 bool in_memory) {
62 return GetRequestContext(); 64 return GetRequestContext();
63 } 65 }
64 66
65 content::ResourceContext* AwBrowserContext::GetResourceContext() { 67 content::ResourceContext* AwBrowserContext::GetResourceContext() {
66 return url_request_context_getter_->GetResourceContext(); 68 return url_request_context_getter_->GetResourceContext();
67 } 69 }
68 70
69 content::DownloadManagerDelegate* 71 content::DownloadManagerDelegate*
70 AwBrowserContext::GetDownloadManagerDelegate() { 72 AwBrowserContext::GetDownloadManagerDelegate() {
71 // TODO(boliu): Implement intercepting downloads for DownloadListener and 73 // TODO(boliu): Implement intercepting downloads for DownloadListener and
(...skipping 16 matching lines...) Expand all
88 return NULL; 90 return NULL;
89 } 91 }
90 92
91 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { 93 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() {
92 // TODO(boliu): Implement this so we are not relying on default behavior. 94 // TODO(boliu): Implement this so we are not relying on default behavior.
93 NOTIMPLEMENTED(); 95 NOTIMPLEMENTED();
94 return NULL; 96 return NULL;
95 } 97 }
96 98
97 } // namespace android_webview 99 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_browser_context.h ('k') | chrome/browser/extensions/data_deleter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698