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

Side by Side Diff: sync/engine/sync_engine_event.h

Issue 10700154: Remove #pragma once from sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/store_timestamps_command.h ('k') | sync/engine/sync_scheduler.h » ('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 #ifndef SYNC_ENGINE_SYNC_ENGINE_EVENT_H_ 5 #ifndef SYNC_ENGINE_SYNC_ENGINE_EVENT_H_
6 #define SYNC_ENGINE_SYNC_ENGINE_EVENT_H_ 6 #define SYNC_ENGINE_SYNC_ENGINE_EVENT_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "base/observer_list.h" 10 #include "base/observer_list.h"
12 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 11 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
13 12
14 namespace syncable { 13 namespace syncable {
15 class Id; 14 class Id;
16 } 15 }
17 16
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // TODO(tim): Consider splitting this up to multiple callbacks, rather than 62 // TODO(tim): Consider splitting this up to multiple callbacks, rather than
64 // have to do Event e(type); OnSyncEngineEvent(e); at all callsites, 63 // have to do Event e(type); OnSyncEngineEvent(e); at all callsites,
65 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) = 0; 64 virtual void OnSyncEngineEvent(const SyncEngineEvent& event) = 0;
66 protected: 65 protected:
67 virtual ~SyncEngineEventListener() {} 66 virtual ~SyncEngineEventListener() {}
68 }; 67 };
69 68
70 } // namespace syncer 69 } // namespace syncer
71 70
72 #endif // SYNC_ENGINE_SYNC_ENGINE_EVENT_H_ 71 #endif // SYNC_ENGINE_SYNC_ENGINE_EVENT_H_
OLDNEW
« no previous file with comments | « sync/engine/store_timestamps_command.h ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698