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

Side by Side Diff: sync/internal_api/public/util/unrecoverable_error_info.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
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_UTIL_UNRECOVERABLE_ERROR_INFO_H_ 5 #ifndef SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_
6 #define SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ 6 #define SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_
7 // TODO(lipalani): Figure out the right location for this class so it is 7 // TODO(lipalani): Figure out the right location for this class so it is
8 // accessible outside of sync engine as well. 8 // accessible outside of sync engine as well.
9 #pragma once
10 9
11 #include <string> 10 #include <string>
12 11
13 #include "base/location.h" 12 #include "base/location.h"
14 13
15 namespace syncer { 14 namespace syncer {
16 15
17 class UnrecoverableErrorInfo { 16 class UnrecoverableErrorInfo {
18 public: 17 public:
19 UnrecoverableErrorInfo(); 18 UnrecoverableErrorInfo();
(...skipping 12 matching lines...) Expand all
32 31
33 private: 32 private:
34 tracked_objects::Location location_; 33 tracked_objects::Location location_;
35 std::string message_; 34 std::string message_;
36 bool is_set_; 35 bool is_set_;
37 }; 36 };
38 37
39 } // namespace syncer 38 } // namespace syncer
40 39
41 #endif // SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_ 40 #endif // SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/util/unrecoverable_error_handler.h ('k') | sync/internal_api/public/util/weak_handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698