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

Unified Diff: components/sync/core_impl/attachments/on_disk_attachment_store_unittest.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/core_impl/attachments/on_disk_attachment_store_unittest.cc
diff --git a/sync/internal_api/attachments/on_disk_attachment_store_unittest.cc b/components/sync/core_impl/attachments/on_disk_attachment_store_unittest.cc
similarity index 98%
rename from sync/internal_api/attachments/on_disk_attachment_store_unittest.cc
rename to components/sync/core_impl/attachments/on_disk_attachment_store_unittest.cc
index 67e27f2ee9ead83f170ec75f6949670716671105..ebbc6d16db5b42f11e9e490a00869278ccc1e969 100644
--- a/sync/internal_api/attachments/on_disk_attachment_store_unittest.cc
+++ b/components/sync/core_impl/attachments/on_disk_attachment_store_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/internal_api/public/attachments/on_disk_attachment_store.h"
+#include "components/sync/core/attachments/on_disk_attachment_store.h"
#include <stdint.h>
@@ -17,8 +17,8 @@
#include "base/run_loop.h"
#include "base/threading/thread_task_runner_handle.h"
#include "base/time/time.h"
-#include "sync/internal_api/attachments/attachment_store_test_template.h"
-#include "sync/internal_api/attachments/proto/attachment_store.pb.h"
+#include "components/sync/core_impl/attachments/attachment_store_test_template.h"
+#include "components/sync/core_impl/attachments/proto/attachment_store.pb.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/leveldatabase/src/include/leveldb/db.h"
@@ -187,8 +187,7 @@ TEST_F(OnDiskAttachmentStoreSpecificTest, CloseAndReopen) {
attachments.push_back(attachment);
store_->Write(attachments,
base::Bind(&OnDiskAttachmentStoreSpecificTest::CopyResult,
- base::Unretained(this),
- &result));
+ base::Unretained(this), &result));
RunLoop();
EXPECT_EQ(AttachmentStore::SUCCESS, result);

Powered by Google App Engine
This is Rietveld 408576698