Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(167)

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "chrome/browser/sync_file_system/drive_backend/sync_engine.h" 5 #include "chrome/browser/sync_file_system/drive_backend/sync_engine.h"
6 6
7 #include "base/files/scoped_temp_dir.h" 7 #include "base/files/scoped_temp_dir.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "chrome/browser/drive/fake_drive_service.h" 9 #include "chrome/browser/drive/fake_drive_service.h"
10 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h" 10 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.h"
11 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" 11 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h"
12 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h" 12 #include "chrome/browser/sync_file_system/sync_file_system_test_util.h"
13 #include "chrome/common/extensions/extension.h"
14 #include "content/public/test/test_browser_thread_bundle.h" 13 #include "content/public/test/test_browser_thread_bundle.h"
14 #include "extensions/common/extension.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 namespace sync_file_system { 17 namespace sync_file_system {
18 namespace drive_backend { 18 namespace drive_backend {
19 19
20 namespace { 20 namespace {
21 21
22 const char kAppID[] = "app_id"; 22 const char kAppID[] = "app_id";
23 23
24 } // namespace 24 } // namespace
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 origin, 91 origin,
92 RemoteFileSyncService::UNINSTALL_AND_KEEP_REMOTE, 92 RemoteFileSyncService::UNINSTALL_AND_KEEP_REMOTE,
93 CreateResultReceiver(&sync_status)); 93 CreateResultReceiver(&sync_status));
94 base::RunLoop().RunUntilIdle(); 94 base::RunLoop().RunUntilIdle();
95 EXPECT_EQ(SYNC_STATUS_OK, sync_status); 95 EXPECT_EQ(SYNC_STATUS_OK, sync_status);
96 ASSERT_FALSE(metadata_database->FindAppRootTracker(kAppID, &tracker)); 96 ASSERT_FALSE(metadata_database->FindAppRootTracker(kAppID, &tracker));
97 } 97 }
98 98
99 } // namespace drive_backend 99 } // namespace drive_backend
100 } // namespace sync_file_system 100 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698