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

Side by Side Diff: sync/internal_api/public/sync_manager.cc

Issue 451743002: Pass args to SyncManager::Init via a struct. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use scoped_ptr instead of raw pointer. Created 6 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 | 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 "sync/internal_api/public/sync_manager.h" 5 #include "sync/internal_api/public/sync_manager.h"
6 6
7 namespace syncer { 7 namespace syncer {
8 8
9 SyncCredentials::SyncCredentials() {} 9 SyncCredentials::SyncCredentials() {}
10 10
11 SyncCredentials::~SyncCredentials() {} 11 SyncCredentials::~SyncCredentials() {}
12 12
13 SyncManager::ChangeDelegate::~ChangeDelegate() {} 13 SyncManager::ChangeDelegate::~ChangeDelegate() {}
14 14
15 SyncManager::ChangeObserver::~ChangeObserver() {} 15 SyncManager::ChangeObserver::~ChangeObserver() {}
16 16
17 SyncManager::Observer::~Observer() {} 17 SyncManager::Observer::~Observer() {}
18 18
19 SyncManager::InitArgs::InitArgs()
20 : extensions_activity(NULL),
21 change_delegate(NULL),
22 encryptor(NULL),
23 cancelation_signal(NULL) {
24 }
25
26 SyncManager::InitArgs::~InitArgs() {}
27
19 SyncManager::SyncManager() {} 28 SyncManager::SyncManager() {}
20 29
21 SyncManager::~SyncManager() {} 30 SyncManager::~SyncManager() {}
22 31
23 } // namespace syncer 32 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/public/sync_manager.h ('k') | sync/internal_api/public/test/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698