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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/glue/sync_backend_registrar.h" 5 #include "chrome/browser/sync/glue/sync_backend_registrar.h"
6 6
7 #include "chrome/browser/sync/glue/change_processor_mock.h" 7 #include "chrome/browser/sync/glue/change_processor_mock.h"
8 #include "chrome/browser/sync/glue/ui_model_worker.h" 8 #include "chrome/browser/sync/glue/ui_model_worker.h"
9 #include "chrome/browser/sync/syncable/model_type.h" 9 #include "chrome/browser/sync/syncable/model_type.h"
10 #include "chrome/browser/sync/test/engine/test_user_share.h" 10 #include "chrome/browser/sync/test/engine/test_user_share.h"
11 #include "chrome/test/base/testing_profile.h" 11 #include "chrome/test/base/testing_profile.h"
12 #include "content/test/test_browser_thread.h" 12 #include "content/test/test_browser_thread.h"
13 #include "testing/gmock/include/gmock/gmock.h" 13 #include "testing/gmock/include/gmock/gmock.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace browser_sync { 16 namespace browser_sync {
17 17
18 namespace { 18 namespace {
19 19
20 using ::testing::_; 20 using ::testing::_;
21 using ::testing::InSequence; 21 using ::testing::InSequence;
22 using ::testing::Return; 22 using ::testing::Return;
23 using ::testing::StrictMock; 23 using ::testing::StrictMock;
24 using content::BrowserThread;
24 using syncable::FIRST_REAL_MODEL_TYPE; 25 using syncable::FIRST_REAL_MODEL_TYPE;
25 using syncable::AUTOFILL; 26 using syncable::AUTOFILL;
26 using syncable::BOOKMARKS; 27 using syncable::BOOKMARKS;
27 using syncable::PREFERENCES; 28 using syncable::PREFERENCES;
28 using syncable::THEMES; 29 using syncable::THEMES;
29 using syncable::NIGORI; 30 using syncable::NIGORI;
30 using syncable::PASSWORDS; 31 using syncable::PASSWORDS;
31 using syncable::MODEL_TYPE_COUNT; 32 using syncable::MODEL_TYPE_COUNT;
32 using syncable::ModelType; 33 using syncable::ModelType;
33 using syncable::ModelTypeFromInt; 34 using syncable::ModelTypeFromInt;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 // Should do nothing. 247 // Should do nothing.
247 TriggerChanges(&registrar, AUTOFILL); 248 TriggerChanges(&registrar, AUTOFILL);
248 249
249 registrar.OnSyncerShutdownComplete(); 250 registrar.OnSyncerShutdownComplete();
250 registrar.StopOnUIThread(); 251 registrar.StopOnUIThread();
251 } 252 }
252 253
253 } // namespace 254 } // namespace
254 255
255 } // namespace browser_sync 256 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar.cc ('k') | chrome/browser/sync/glue/theme_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698