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

Side by Side Diff: sync/protocol/proto_enum_conversions.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/notifier/sync_notifier_observer.h ('k') | sync/protocol/proto_value_conversions.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_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 5 #ifndef SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 6 #define SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
7 #pragma once
8 7
9 // Keep this file in sync with the .proto files in this directory. 8 // Keep this file in sync with the .proto files in this directory.
10 9
11 #include "sync/protocol/session_specifics.pb.h" 10 #include "sync/protocol/session_specifics.pb.h"
12 #include "sync/protocol/sync.pb.h" 11 #include "sync/protocol/sync.pb.h"
13 12
14 // Utility functions to get the string equivalent for some sync proto 13 // Utility functions to get the string equivalent for some sync proto
15 // enums. 14 // enums.
16 15
17 namespace syncer { 16 namespace syncer {
(...skipping 23 matching lines...) Expand all
41 40
42 const char* GetDeviceTypeString( 41 const char* GetDeviceTypeString(
43 sync_pb::SessionHeader::DeviceType device_type); 42 sync_pb::SessionHeader::DeviceType device_type);
44 43
45 const char* GetFaviconTypeString( 44 const char* GetFaviconTypeString(
46 sync_pb::SessionTab::FaviconType favicon_type); 45 sync_pb::SessionTab::FaviconType favicon_type);
47 46
48 } // namespace syncer 47 } // namespace syncer
49 48
50 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_ 49 #endif // SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
OLDNEW
« no previous file with comments | « sync/notifier/sync_notifier_observer.h ('k') | sync/protocol/proto_value_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698