| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <algorithm> | 5 #include <algorithm> |
| 6 #include <stack> | 6 #include <stack> |
| 7 | 7 |
| 8 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" | 25 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" |
| 26 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" | 26 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" |
| 27 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h" | 27 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h" |
| 28 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 28 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
| 29 #include "chrome/test/base/testing_profile.h" | 29 #include "chrome/test/base/testing_profile.h" |
| 30 #include "content/public/test/test_browser_thread.h" | 30 #include "content/public/test/test_browser_thread.h" |
| 31 #include "content/public/test/test_browser_thread_bundle.h" | 31 #include "content/public/test/test_browser_thread_bundle.h" |
| 32 #include "extensions/common/extension.h" | 32 #include "extensions/common/extension.h" |
| 33 #include "google_apis/drive/drive_api_parser.h" | 33 #include "google_apis/drive/drive_api_parser.h" |
| 34 #include "net/url_request/url_request_context_getter.h" | 34 #include "net/url_request/url_request_context_getter.h" |
| 35 #include "storage/browser/fileapi/file_system_context.h" |
| 35 #include "testing/gtest/include/gtest/gtest.h" | 36 #include "testing/gtest/include/gtest/gtest.h" |
| 36 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" | 37 #include "third_party/leveldatabase/src/helpers/memenv/memenv.h" |
| 37 #include "third_party/leveldatabase/src/include/leveldb/env.h" | 38 #include "third_party/leveldatabase/src/include/leveldb/env.h" |
| 38 #include "webkit/browser/fileapi/file_system_context.h" | |
| 39 | 39 |
| 40 #define FPL(a) FILE_PATH_LITERAL(a) | 40 #define FPL(a) FILE_PATH_LITERAL(a) |
| 41 | 41 |
| 42 namespace sync_file_system { | 42 namespace sync_file_system { |
| 43 namespace drive_backend { | 43 namespace drive_backend { |
| 44 | 44 |
| 45 typedef storage::FileSystemOperation::FileEntryList FileEntryList; | 45 typedef storage::FileSystemOperation::FileEntryList FileEntryList; |
| 46 | 46 |
| 47 namespace { | 47 namespace { |
| 48 | 48 |
| (...skipping 1673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1722 | 1722 |
| 1723 EXPECT_EQ(1u, CountApp()); | 1723 EXPECT_EQ(1u, CountApp()); |
| 1724 EXPECT_EQ(1u, CountLocalFile(app_id)); | 1724 EXPECT_EQ(1u, CountLocalFile(app_id)); |
| 1725 | 1725 |
| 1726 EXPECT_EQ(2u, CountMetadata()); | 1726 EXPECT_EQ(2u, CountMetadata()); |
| 1727 EXPECT_EQ(2u, CountTracker()); | 1727 EXPECT_EQ(2u, CountTracker()); |
| 1728 } | 1728 } |
| 1729 | 1729 |
| 1730 } // namespace drive_backend | 1730 } // namespace drive_backend |
| 1731 } // namespace sync_file_system | 1731 } // namespace sync_file_system |
| OLD | NEW |