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

Unified Diff: chrome/browser/sync/protocol/proto_enum_conversions.h

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sync/protocol/DEPS ('k') | chrome/browser/sync/protocol/proto_enum_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/protocol/proto_enum_conversions.h
diff --git a/chrome/browser/sync/protocol/proto_enum_conversions.h b/chrome/browser/sync/protocol/proto_enum_conversions.h
deleted file mode 100644
index 76a912e91f6f2df45e024f1d21964bf7fdcff76f..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/protocol/proto_enum_conversions.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
-#define CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
-#pragma once
-
-// Keep this file in sync with the .proto files in this directory.
-
-#include "sync/protocol/session_specifics.pb.h"
-#include "sync/protocol/sync.pb.h"
-
-// Utility functions to get the string equivalent for some sync proto
-// enums.
-
-namespace browser_sync {
-
-// The returned strings (which don't have to be freed) are in ASCII.
-// The result of passing in an invalid enum value is undefined.
-
-const char* GetBrowserTypeString(
- sync_pb::SessionWindow::BrowserType browser_type);
-
-const char* GetPageTransitionString(
- sync_pb::TabNavigation::PageTransition page_transition);
-
-const char* GetPageTransitionQualifierString(
- sync_pb::TabNavigation::PageTransitionQualifier
- page_transition_qualifier);
-
-const char* GetUpdatesSourceString(
- sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source);
-
-const char* GetDeviceTypeString(
- sync_pb::SessionHeader::DeviceType device_type);
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_PROTOCOL_PROTO_ENUM_CONVERSIONS_H_
« no previous file with comments | « chrome/browser/sync/protocol/DEPS ('k') | chrome/browser/sync/protocol/proto_enum_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698