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

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

Issue 7708010: Add more files to content_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: virtual dtor Created 9 years, 4 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
« no previous file with comments | « content/test/test_browser_context.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "content/test/test_browser_context.h"
6
7 #include "base/file_path.h"
8 #include "content/browser/mock_resource_context.h"
9
10 TestBrowserContext::TestBrowserContext() {
11 }
12
13 TestBrowserContext::~TestBrowserContext() {
14 }
15
16 FilePath TestBrowserContext::GetPath() {
17 return FilePath();
18 }
19
20 bool TestBrowserContext::IsOffTheRecord() {
21 return false;
22 }
23
24 webkit_database::DatabaseTracker* TestBrowserContext::GetDatabaseTracker() {
25 return NULL;
26 }
27
28 SSLHostState* TestBrowserContext::GetSSLHostState() {
29 return NULL;
30 }
31
32 DownloadManager* TestBrowserContext::GetDownloadManager() {
33 return NULL;
34 }
35
36 bool TestBrowserContext::HasCreatedDownloadManager() const {
37 return false;
38 }
39
40 quota::QuotaManager* TestBrowserContext::GetQuotaManager() {
41 return NULL;
42 }
43
44 net::URLRequestContextGetter* TestBrowserContext::GetRequestContext() {
45 return NULL;
46 }
47
48 net::URLRequestContextGetter*
49 TestBrowserContext::GetRequestContextForRenderProcess(int renderer_child_id) {
50 return NULL;
51 }
52
53 net::URLRequestContextGetter* TestBrowserContext::GetRequestContextForMedia() {
54 return NULL;
55 }
56
57 const content::ResourceContext& TestBrowserContext::GetResourceContext() {
58 // TODO(phajdan.jr): Get rid of this nasty global.
59 return *content::MockResourceContext::GetInstance();
60 }
61
62 HostZoomMap* TestBrowserContext::GetHostZoomMap() {
63 return NULL;
64 }
65
66 GeolocationPermissionContext*
67 TestBrowserContext::GetGeolocationPermissionContext() {
68 return NULL;
69 }
70
71 bool TestBrowserContext::DidLastSessionExitCleanly() {
72 return true;
73 }
74
75 WebKitContext* TestBrowserContext::GetWebKitContext() {
76 return NULL;
77 }
78
79 ChromeBlobStorageContext* TestBrowserContext::GetBlobStorageContext() {
80 return NULL;
81 }
OLDNEW
« no previous file with comments | « content/test/test_browser_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698