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

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

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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 "chrome/browser/sync/glue/theme_data_type_controller.h" 5 #include "chrome/browser/sync/glue/theme_data_type_controller.h"
6 6
7 #include "chrome/browser/profiles/profile.h" 7 #include "chrome/browser/profiles/profile.h"
8 #include "extensions/browser/extension_system.h" 8 #include "extensions/browser/extension_system.h"
9 9
10 namespace browser_sync { 10 namespace browser_sync {
11 11
12 ThemeDataTypeController::ThemeDataTypeController( 12 ThemeDataTypeController::ThemeDataTypeController(
13 const base::Closure& dump_stack, 13 const base::Closure& dump_stack,
14 syncer::SyncClient* sync_client, 14 sync_driver::SyncClient* sync_client,
15 Profile* profile) 15 Profile* profile)
16 : UIDataTypeController(syncer::THEMES, dump_stack, sync_client), 16 : UIDataTypeController(syncer::THEMES, dump_stack, sync_client),
17 profile_(profile) {} 17 profile_(profile) {}
18 18
19 ThemeDataTypeController::~ThemeDataTypeController() {} 19 ThemeDataTypeController::~ThemeDataTypeController() {}
20 20
21 bool ThemeDataTypeController::StartModels() { 21 bool ThemeDataTypeController::StartModels() {
22 DCHECK(CalledOnValidThread()); 22 DCHECK(CalledOnValidThread());
23 extensions::ExtensionSystem::Get(profile_)->InitForRegularProfile(true); 23 extensions::ExtensionSystem::Get(profile_)->InitForRegularProfile(true);
24 return true; 24 return true;
25 } 25 }
26 26
27 } // namespace browser_sync 27 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/theme_data_type_controller.h ('k') | chrome/browser/sync/profile_sync_service_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698