OLD | NEW |
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 "testing/gtest/include/gtest/gtest.h" | 5 #include "testing/gtest/include/gtest/gtest.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "chrome/browser/browsing_data_file_system_helper.h" | 13 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" |
14 #include "chrome/test/base/testing_profile.h" | 14 #include "chrome/test/base/testing_profile.h" |
15 #include "content/public/test/test_browser_thread.h" | 15 #include "content/public/test/test_browser_thread.h" |
16 #include "webkit/fileapi/file_system_context.h" | 16 #include "webkit/fileapi/file_system_context.h" |
17 #include "webkit/fileapi/file_system_types.h" | 17 #include "webkit/fileapi/file_system_types.h" |
18 #include "webkit/fileapi/file_system_usage_cache.h" | 18 #include "webkit/fileapi/file_system_usage_cache.h" |
19 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 19 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
20 | 20 |
21 using content::BrowserContext; | 21 using content::BrowserContext; |
22 using content::BrowserThread; | 22 using content::BrowserThread; |
23 | 23 |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 // extension and devtools schemes. | 309 // extension and devtools schemes. |
310 TEST_F(BrowsingDataFileSystemHelperTest, IgnoreExtensionsAndDevTools) { | 310 TEST_F(BrowsingDataFileSystemHelperTest, IgnoreExtensionsAndDevTools) { |
311 ASSERT_TRUE(canned_helper_->empty()); | 311 ASSERT_TRUE(canned_helper_->empty()); |
312 canned_helper_->AddFileSystem(kOriginExt, kTemporary, 0); | 312 canned_helper_->AddFileSystem(kOriginExt, kTemporary, 0); |
313 ASSERT_TRUE(canned_helper_->empty()); | 313 ASSERT_TRUE(canned_helper_->empty()); |
314 canned_helper_->AddFileSystem(kOriginDevTools, kTemporary, 0); | 314 canned_helper_->AddFileSystem(kOriginDevTools, kTemporary, 0); |
315 ASSERT_TRUE(canned_helper_->empty()); | 315 ASSERT_TRUE(canned_helper_->empty()); |
316 } | 316 } |
317 | 317 |
318 } // namespace | 318 } // namespace |
OLD | NEW |