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

Side by Side Diff: sync/engine/all_status.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/api/syncable_service.h ('k') | sync/engine/apply_updates_command.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 // The AllStatus object watches various sync engine components and aggregates 5 // The AllStatus object watches various sync engine components and aggregates
6 // the status of all of them into one place. 6 // the status of all of them into one place.
7 7
8 #ifndef SYNC_INTERNAL_API_ALL_STATUS_H_ 8 #ifndef SYNC_INTERNAL_API_ALL_STATUS_H_
9 #define SYNC_INTERNAL_API_ALL_STATUS_H_ 9 #define SYNC_INTERNAL_API_ALL_STATUS_H_
10 #pragma once
11 10
12 #include <map> 11 #include <map>
13 #include <string> 12 #include <string>
14 13
15 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
16 #include "base/synchronization/lock.h" 15 #include "base/synchronization/lock.h"
17 #include "sync/engine/sync_engine_event.h" 16 #include "sync/engine/sync_engine_event.h"
18 #include "sync/engine/syncer_types.h" 17 #include "sync/engine/syncer_types.h"
19 #include "sync/internal_api/public/base/model_type.h" 18 #include "sync/internal_api/public/base/model_type.h"
20 #include "sync/internal_api/public/engine/sync_status.h" 19 #include "sync/internal_api/public/engine/sync_status.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 public: 72 public:
74 explicit ScopedStatusLock(AllStatus* allstatus); 73 explicit ScopedStatusLock(AllStatus* allstatus);
75 ~ScopedStatusLock(); 74 ~ScopedStatusLock();
76 protected: 75 protected:
77 AllStatus* allstatus_; 76 AllStatus* allstatus_;
78 }; 77 };
79 78
80 } // namespace syncer 79 } // namespace syncer
81 80
82 #endif // SYNC_INTERNAL_API_ALL_STATUS_H_ 81 #endif // SYNC_INTERNAL_API_ALL_STATUS_H_
OLDNEW
« no previous file with comments | « sync/api/syncable_service.h ('k') | sync/engine/apply_updates_command.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698