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

Side by Side Diff: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 years, 6 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 | Annotate | Revision Log
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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/callback.h" 6 #include "base/callback.h"
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "chrome/browser/sync/glue/autofill_data_type_controller.h" 12 #include "chrome/browser/sync/glue/autofill_data_type_controller.h"
13 #include "chrome/browser/sync/glue/data_type_controller_mock.h" 13 #include "chrome/browser/sync/glue/data_type_controller_mock.h"
14 #include "chrome/browser/sync/glue/shared_change_processor_mock.h" 14 #include "chrome/browser/sync/glue/shared_change_processor_mock.h"
15 #include "chrome/browser/sync/profile_sync_components_factory_mock.h" 15 #include "chrome/browser/sync/profile_sync_components_factory_mock.h"
16 #include "chrome/browser/sync/profile_sync_service_factory.h" 16 #include "chrome/browser/sync/profile_sync_service_factory.h"
17 #include "chrome/browser/sync/profile_sync_service_mock.h" 17 #include "chrome/browser/sync/profile_sync_service_mock.h"
18 #include "chrome/browser/webdata/autocomplete_syncable_service.h" 18 #include "chrome/browser/webdata/autocomplete_syncable_service.h"
19 #include "chrome/browser/webdata/web_data_service_factory.h" 19 #include "chrome/browser/webdata/web_data_service_factory.h"
20 #include "chrome/common/chrome_notification_types.h" 20 #include "chrome/common/chrome_notification_types.h"
21 #include "chrome/test/base/profile_mock.h" 21 #include "chrome/test/base/profile_mock.h"
22 #include "components/autofill/browser/webdata/autofill_webdata_service.h" 22 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
23 #include "components/webdata/common/web_data_service_test_util.h" 23 #include "components/webdata/common/web_data_service_test_util.h"
24 #include "content/public/browser/notification_service.h" 24 #include "content/public/browser/notification_service.h"
25 #include "content/public/browser/notification_source.h" 25 #include "content/public/browser/notification_source.h"
26 #include "content/public/browser/notification_types.h" 26 #include "content/public/browser/notification_types.h"
27 #include "content/public/test/test_browser_thread.h" 27 #include "content/public/test/test_browser_thread.h"
28 #include "sync/api/sync_error.h" 28 #include "sync/api/sync_error.h"
29 #include "testing/gmock/include/gmock/gmock.h" 29 #include "testing/gmock/include/gmock/gmock.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 31
32 using autofill::AutofillWebDataService; 32 using autofill::AutofillWebDataService;
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 base::Bind(&SyncAutofillDataTypeControllerTest::OnStartFinished, 300 base::Bind(&SyncAutofillDataTypeControllerTest::OnStartFinished,
301 weak_ptr_factory_.GetWeakPtr())); 301 weak_ptr_factory_.GetWeakPtr()));
302 BlockForDBThread(); 302 BlockForDBThread();
303 303
304 EXPECT_TRUE(web_db->CheckAutofillCullingValue()); 304 EXPECT_TRUE(web_db->CheckAutofillCullingValue());
305 } 305 }
306 306
307 } // namespace 307 } // namespace
308 308
309 } // namespace browser_sync 309 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698