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

Side by Side Diff: sync/engine/clear_data_command.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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
« no previous file with comments | « sync/engine/clear_data_command.h ('k') | sync/engine/clear_data_command_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/engine/clear_data_command.h" 5 #include "sync/engine/clear_data_command.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "chrome/browser/sync/engine/syncer.h" 9 #include "sync/engine/syncer.h"
10 #include "chrome/browser/sync/engine/syncer_proto_util.h" 10 #include "sync/engine/syncer_proto_util.h"
11 #include "chrome/browser/sync/engine/syncproto.h" 11 #include "sync/engine/syncproto.h"
12 #include "chrome/browser/sync/sessions/sync_session.h" 12 #include "sync/sessions/sync_session.h"
13 13
14 namespace browser_sync { 14 namespace browser_sync {
15 15
16 using sessions::StatusController; 16 using sessions::StatusController;
17 using sessions::SyncSession; 17 using sessions::SyncSession;
18 using std::string; 18 using std::string;
19 using syncable::FIRST_REAL_MODEL_TYPE; 19 using syncable::FIRST_REAL_MODEL_TYPE;
20 using syncable::MODEL_TYPE_COUNT; 20 using syncable::MODEL_TYPE_COUNT;
21 21
22 22
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 SyncEngineEvent event(SyncEngineEvent::CLEAR_SERVER_DATA_SUCCEEDED); 68 SyncEngineEvent event(SyncEngineEvent::CLEAR_SERVER_DATA_SUCCEEDED);
69 session->context()->NotifyListeners(event); 69 session->context()->NotifyListeners(event);
70 70
71 session->delegate()->OnShouldStopSyncingPermanently(); 71 session->delegate()->OnShouldStopSyncingPermanently();
72 72
73 DVLOG(1) << "ClearData succeeded."; 73 DVLOG(1) << "ClearData succeeded.";
74 return SYNCER_OK; 74 return SYNCER_OK;
75 } 75 }
76 76
77 } // namespace browser_sync 77 } // namespace browser_sync
OLDNEW
« no previous file with comments | « sync/engine/clear_data_command.h ('k') | sync/engine/clear_data_command_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698