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

Side by Side Diff: components/autofill/core/browser/webdata/autofill_data_type_controller_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, 4 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 unified diff | Download patch
OLDNEW
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 "components/autofill/core/browser/webdata/autofill_data_type_controller .h" 5 #include "components/autofill/core/browser/webdata/autofill_data_type_controller .h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "base/threading/thread.h" 15 #include "base/threading/thread.h"
16 #include "base/threading/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h" 17 #include "components/autofill/core/browser/webdata/autocomplete_syncable_service .h"
18 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 18 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
19 #include "components/sync/api/sync_error.h"
19 #include "components/sync_driver/data_type_controller_mock.h" 20 #include "components/sync_driver/data_type_controller_mock.h"
20 #include "components/sync_driver/fake_sync_client.h" 21 #include "components/sync_driver/fake_sync_client.h"
21 #include "components/webdata_services/web_data_service_test_util.h" 22 #include "components/webdata_services/web_data_service_test_util.h"
22 #include "sync/api/sync_error.h"
23 #include "testing/gmock/include/gmock/gmock.h" 23 #include "testing/gmock/include/gmock/gmock.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 using autofill::AutofillWebDataService; 26 using autofill::AutofillWebDataService;
27 using autofill::AutofillWebDataBackend; 27 using autofill::AutofillWebDataBackend;
28 28
29 namespace browser_sync { 29 namespace browser_sync {
30 30
31 namespace { 31 namespace {
32 32
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 EXPECT_EQ(sync_driver::DataTypeController::ASSOCIATION_FAILED, 212 EXPECT_EQ(sync_driver::DataTypeController::ASSOCIATION_FAILED,
213 last_start_result_); 213 last_start_result_);
214 EXPECT_TRUE(last_start_error_.IsSet()); 214 EXPECT_TRUE(last_start_error_.IsSet());
215 215
216 EXPECT_EQ(sync_driver::DataTypeController::DISABLED, autofill_dtc_->state()); 216 EXPECT_EQ(sync_driver::DataTypeController::DISABLED, autofill_dtc_->state());
217 } 217 }
218 218
219 } // namespace 219 } // namespace
220 220
221 } // namespace browser_sync 221 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698