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

Side by Side Diff: chrome/browser/sync/abstract_profile_sync_service_test.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/abstract_profile_sync_service_test.h" 5 #include "chrome/browser/sync/abstract_profile_sync_service_test.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "chrome/browser/sync/internal_api/write_transaction.h" 8 #include "chrome/browser/sync/internal_api/write_transaction.h"
9 #include "chrome/browser/sync/protocol/sync.pb.h" 9 #include "chrome/browser/sync/protocol/sync.pb.h"
10 #include "chrome/browser/sync/syncable/directory_manager.h" 10 #include "chrome/browser/sync/syncable/directory_manager.h"
11 #include "chrome/browser/sync/syncable/syncable.h" 11 #include "chrome/browser/sync/syncable/syncable.h"
12 #include "chrome/browser/sync/test_profile_sync_service.h" 12 #include "chrome/browser/sync/test_profile_sync_service.h"
13 #include "chrome/browser/sync/test/engine/test_id_factory.h" 13 #include "chrome/browser/sync/test/engine/test_id_factory.h"
14 #include "chrome/browser/sync/util/cryptographer.h" 14 #include "chrome/browser/sync/util/cryptographer.h"
15 15
16 using browser_sync::TestIdFactory; 16 using browser_sync::TestIdFactory;
17 using content::BrowserThread;
17 using sync_api::UserShare; 18 using sync_api::UserShare;
18 using syncable::BASE_VERSION; 19 using syncable::BASE_VERSION;
19 using syncable::CREATE; 20 using syncable::CREATE;
20 using syncable::DirectoryManager; 21 using syncable::DirectoryManager;
21 using syncable::IS_DEL; 22 using syncable::IS_DEL;
22 using syncable::IS_DIR; 23 using syncable::IS_DIR;
23 using syncable::IS_UNAPPLIED_UPDATE; 24 using syncable::IS_UNAPPLIED_UPDATE;
24 using syncable::IS_UNSYNCED; 25 using syncable::IS_UNSYNCED;
25 using syncable::ModelType; 26 using syncable::ModelType;
26 using syncable::MutableEntry; 27 using syncable::MutableEntry;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 CreateRootTask::~CreateRootTask() { 142 CreateRootTask::~CreateRootTask() {
142 } 143 }
143 144
144 void CreateRootTask::Run() { 145 void CreateRootTask::Run() {
145 success_ = test_->CreateRoot(model_type_); 146 success_ = test_->CreateRoot(model_type_);
146 } 147 }
147 148
148 bool CreateRootTask::success() { 149 bool CreateRootTask::success() {
149 return success_; 150 return success_;
150 } 151 }
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_add_cert_handler.cc ('k') | chrome/browser/sync/glue/app_notification_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698