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

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

Issue 2798503002: Extensions: Pull duplicated functionality into ExtensionsTest fixture. (Closed)
Patch Set: Add TODO for comments. Created 3 years, 8 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
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 <utility> 7 #include <utility>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/test/null_task_runner.h" 10 #include "base/test/null_task_runner.h"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 return NULL; 146 return NULL;
147 } 147 }
148 148
149 net::URLRequestContextGetter* 149 net::URLRequestContextGetter*
150 TestBrowserContext::CreateMediaRequestContextForStoragePartition( 150 TestBrowserContext::CreateMediaRequestContextForStoragePartition(
151 const base::FilePath& partition_path, 151 const base::FilePath& partition_path,
152 bool in_memory) { 152 bool in_memory) {
153 return NULL; 153 return NULL;
154 } 154 }
155 155
156 TestBrowserContextIncognito::TestBrowserContextIncognito() {}
157
158 TestBrowserContextIncognito::~TestBrowserContextIncognito() {}
159
160 bool TestBrowserContextIncognito::IsOffTheRecord() const {
161 return true;
162 }
163
156 } // namespace content 164 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698