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

Side by Side Diff: chrome/browser/sync/engine/syncer_end_command.cc

Issue 495001: sync: Fix license copyright text. (Closed)
Patch Set: " Created 11 years 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 entry. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/engine/syncer_end_command.h" 5 #include "chrome/browser/sync/engine/syncer_end_command.h"
6 6
7 #include "chrome/browser/sync/engine/syncer_types.h" 7 #include "chrome/browser/sync/engine/syncer_types.h"
8 #include "chrome/browser/sync/sessions/sync_session.h" 8 #include "chrome/browser/sync/sessions/sync_session.h"
9 #include "chrome/browser/sync/syncable/directory_manager.h" 9 #include "chrome/browser/sync/syncable/directory_manager.h"
10 #include "chrome/browser/sync/util/event_sys-inl.h" 10 #include "chrome/browser/sync/util/event_sys-inl.h"
11 11
12 namespace browser_sync { 12 namespace browser_sync {
13 13
(...skipping 19 matching lines...) Expand all
33 dir->set_initial_sync_ended(true); 33 dir->set_initial_sync_ended(true);
34 } 34 }
35 35
36 SyncerEvent event(SyncerEvent::SYNC_CYCLE_ENDED); 36 SyncerEvent event(SyncerEvent::SYNC_CYCLE_ENDED);
37 sessions::SyncSessionSnapshot snapshot(session->TakeSnapshot()); 37 sessions::SyncSessionSnapshot snapshot(session->TakeSnapshot());
38 event.snapshot = &snapshot; 38 event.snapshot = &snapshot;
39 session->context()->syncer_event_channel()->NotifyListeners(event); 39 session->context()->syncer_event_channel()->NotifyListeners(event);
40 } 40 }
41 41
42 } // namespace browser_sync 42 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/syncer_end_command.h ('k') | chrome/browser/sync/engine/syncer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698