OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <vector> | 5 #include <vector> |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" | 22 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" |
23 #include "chrome/browser/sync_file_system/mock_local_change_processor.h" | 23 #include "chrome/browser/sync_file_system/mock_local_change_processor.h" |
24 #include "chrome/browser/sync_file_system/sync_file_metadata.h" | 24 #include "chrome/browser/sync_file_system/sync_file_metadata.h" |
25 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h" | 25 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h" |
26 #include "chrome/browser/sync_file_system/sync_status_code.h" | 26 #include "chrome/browser/sync_file_system/sync_status_code.h" |
27 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 27 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
28 #include "chrome/test/base/testing_profile.h" | 28 #include "chrome/test/base/testing_profile.h" |
29 #include "content/public/browser/browser_thread.h" | 29 #include "content/public/browser/browser_thread.h" |
30 #include "content/public/test/test_browser_thread_bundle.h" | 30 #include "content/public/test/test_browser_thread_bundle.h" |
31 #include "content/public/test/test_utils.h" | 31 #include "content/public/test/test_utils.h" |
| 32 #include "storage/browser/fileapi/file_system_context.h" |
32 #include "testing/gmock/include/gmock/gmock.h" | 33 #include "testing/gmock/include/gmock/gmock.h" |
33 #include "testing/gtest/include/gtest/gtest.h" | 34 #include "testing/gtest/include/gtest/gtest.h" |
34 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" | 35 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" |
35 #include "third_party/leveldatabase/src/include/leveldb/env.h" | 36 #include "third_party/leveldatabase/src/include/leveldb/env.h" |
36 #include "webkit/browser/fileapi/file_system_context.h" | |
37 | 37 |
38 using content::BrowserThread; | 38 using content::BrowserThread; |
39 using storage::FileSystemURL; | 39 using storage::FileSystemURL; |
40 using ::testing::_; | 40 using ::testing::_; |
41 using ::testing::AtLeast; | 41 using ::testing::AtLeast; |
42 using ::testing::InvokeWithoutArgs; | 42 using ::testing::InvokeWithoutArgs; |
43 using ::testing::StrictMock; | 43 using ::testing::StrictMock; |
44 | 44 |
45 namespace sync_file_system { | 45 namespace sync_file_system { |
46 | 46 |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
726 all_origins.insert(kOrigin2); | 726 all_origins.insert(kOrigin2); |
727 all_origins.insert(kOrigin3); | 727 all_origins.insert(kOrigin3); |
728 while (!all_origins.empty()) { | 728 while (!all_origins.empty()) { |
729 ASSERT_TRUE(NextOriginToProcess(&origin)); | 729 ASSERT_TRUE(NextOriginToProcess(&origin)); |
730 ASSERT_TRUE(ContainsKey(all_origins, origin)); | 730 ASSERT_TRUE(ContainsKey(all_origins, origin)); |
731 all_origins.erase(origin); | 731 all_origins.erase(origin); |
732 } | 732 } |
733 } | 733 } |
734 | 734 |
735 } // namespace sync_file_system | 735 } // namespace sync_file_system |
OLD | NEW |