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

Side by Side Diff: content/public/test/test_browser_context.cc

Issue 10916132: AppCache and StoragePartition'ing (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 months 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
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 "content/public/test/test_browser_context.h" 5 #include "content/public/test/test_browser_context.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "content/public/test/mock_resource_context.h" 8 #include "content/public/test/mock_resource_context.h"
9 #include "net/url_request/url_request_context.h" 9 #include "net/url_request/url_request_context.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 42
43 net::URLRequestContextGetter* TestBrowserContext::GetRequestContext() { 43 net::URLRequestContextGetter* TestBrowserContext::GetRequestContext() {
44 return NULL; 44 return NULL;
45 } 45 }
46 46
47 net::URLRequestContextGetter* 47 net::URLRequestContextGetter*
48 TestBrowserContext::GetRequestContextForRenderProcess(int renderer_child_id) { 48 TestBrowserContext::GetRequestContextForRenderProcess(int renderer_child_id) {
49 return NULL; 49 return NULL;
50 } 50 }
51 51
52
53 net::URLRequestContextGetter*
54 TestBrowserContext::GetRequestContextForStoragePartition(
55 const std::string& partition_id) {
56 return NULL;
57 }
58
52 net::URLRequestContextGetter* TestBrowserContext::GetMediaRequestContext() { 59 net::URLRequestContextGetter* TestBrowserContext::GetMediaRequestContext() {
53 return NULL; 60 return NULL;
54 } 61 }
55 62
56 net::URLRequestContextGetter* 63 net::URLRequestContextGetter*
57 TestBrowserContext::GetMediaRequestContextForRenderProcess( 64 TestBrowserContext::GetMediaRequestContextForRenderProcess(
58 int renderer_child_id) { 65 int renderer_child_id) {
59 return NULL; 66 return NULL;
60 } 67 }
61 68
(...skipping 15 matching lines...) Expand all
77 84
78 bool TestBrowserContext::DidLastSessionExitCleanly() { 85 bool TestBrowserContext::DidLastSessionExitCleanly() {
79 return true; 86 return true;
80 } 87 }
81 88
82 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() { 89 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() {
83 return special_storage_policy_.get(); 90 return special_storage_policy_.get();
84 } 91 }
85 92
86 } // namespace content 93 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698