| 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 <stddef.h> |
| 8 |
| 7 #include "base/bind.h" | 9 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
| 9 #include "base/files/file_util.h" | 11 #include "base/files/file_util.h" |
| 12 #include "base/macros.h" |
| 10 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
| 11 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
| 12 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 13 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" | 16 #include "chrome/browser/browsing_data/browsing_data_file_system_helper.h" |
| 14 #include "chrome/test/base/testing_profile.h" | 17 #include "chrome/test/base/testing_profile.h" |
| 15 #include "content/public/browser/storage_partition.h" | 18 #include "content/public/browser/storage_partition.h" |
| 16 #include "content/public/test/test_browser_thread.h" | 19 #include "content/public/test/test_browser_thread.h" |
| 17 #include "content/public/test/test_browser_thread_bundle.h" | 20 #include "content/public/test/test_browser_thread_bundle.h" |
| 18 #include "storage/browser/fileapi/file_system_context.h" | 21 #include "storage/browser/fileapi/file_system_context.h" |
| 19 #include "storage/browser/fileapi/file_system_url.h" | 22 #include "storage/browser/fileapi/file_system_url.h" |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 // extension and devtools schemes. | 298 // extension and devtools schemes. |
| 296 TEST_F(BrowsingDataFileSystemHelperTest, IgnoreExtensionsAndDevTools) { | 299 TEST_F(BrowsingDataFileSystemHelperTest, IgnoreExtensionsAndDevTools) { |
| 297 ASSERT_TRUE(canned_helper_->empty()); | 300 ASSERT_TRUE(canned_helper_->empty()); |
| 298 canned_helper_->AddFileSystem(kOriginExt, kTemporary, 0); | 301 canned_helper_->AddFileSystem(kOriginExt, kTemporary, 0); |
| 299 ASSERT_TRUE(canned_helper_->empty()); | 302 ASSERT_TRUE(canned_helper_->empty()); |
| 300 canned_helper_->AddFileSystem(kOriginDevTools, kTemporary, 0); | 303 canned_helper_->AddFileSystem(kOriginDevTools, kTemporary, 0); |
| 301 ASSERT_TRUE(canned_helper_->empty()); | 304 ASSERT_TRUE(canned_helper_->empty()); |
| 302 } | 305 } |
| 303 | 306 |
| 304 } // namespace | 307 } // namespace |
| OLD | NEW |