OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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/test/test_browser_context.h" | 5 #include "content/test/test_browser_context.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "content/browser/in_process_webkit/webkit_context.h" | 8 #include "content/browser/in_process_webkit/webkit_context.h" |
9 #include "content/browser/mock_resource_context.h" | 9 #include "content/browser/mock_resource_context.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 | 11 |
12 using content::DownloadManager; | 12 using content::DownloadManager; |
| 13 using content::HostZoomMap; |
13 | 14 |
14 TestBrowserContext::TestBrowserContext() { | 15 TestBrowserContext::TestBrowserContext() { |
15 EXPECT_TRUE(browser_context_dir_.CreateUniqueTempDir()); | 16 EXPECT_TRUE(browser_context_dir_.CreateUniqueTempDir()); |
16 } | 17 } |
17 | 18 |
18 TestBrowserContext::~TestBrowserContext() { | 19 TestBrowserContext::~TestBrowserContext() { |
19 } | 20 } |
20 | 21 |
21 FilePath TestBrowserContext::GetPath() { | 22 FilePath TestBrowserContext::GetPath() { |
22 return browser_context_dir_.path(); | 23 return browser_context_dir_.path(); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 return NULL; | 91 return NULL; |
91 } | 92 } |
92 | 93 |
93 ChromeAppCacheService* TestBrowserContext::GetAppCacheService() { | 94 ChromeAppCacheService* TestBrowserContext::GetAppCacheService() { |
94 return NULL; | 95 return NULL; |
95 } | 96 } |
96 | 97 |
97 fileapi::FileSystemContext* TestBrowserContext::GetFileSystemContext() { | 98 fileapi::FileSystemContext* TestBrowserContext::GetFileSystemContext() { |
98 return NULL; | 99 return NULL; |
99 } | 100 } |
OLD | NEW |