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

Unified Diff: remoting/base/name_value_map.h

Issue 2807803002: Move name_value_map to remoting/base (Closed)
Patch Set: sync Created 3 years, 8 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 | « remoting/base/chromoting_event.cc ('k') | remoting/host/host_exit_codes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/name_value_map.h
diff --git a/remoting/protocol/name_value_map.h b/remoting/base/name_value_map.h
similarity index 78%
rename from remoting/protocol/name_value_map.h
rename to remoting/base/name_value_map.h
index ab66f3e43355e232ac85795595bc1afb14e85bdc..30278202163ac43f43fc210c27acbd77b01f4d30 100644
--- a/remoting/protocol/name_value_map.h
+++ b/remoting/base/name_value_map.h
@@ -1,18 +1,17 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2017 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.
//
// Helper functions that allow to map enum values to strings.
-#ifndef REMOTING_PROTOCOL_NAME_VALUE_MAP_H_
-#define REMOTING_PROTOCOL_NAME_VALUE_MAP_H_
+#ifndef REMOTING_BASE_NAME_VALUE_MAP_H_
+#define REMOTING_BASE_NAME_VALUE_MAP_H_
#include <stddef.h>
#include "base/logging.h"
namespace remoting {
-namespace protocol {
template <typename T>
struct NameMapElement {
@@ -43,7 +42,6 @@ bool NameToValue(const NameMapElement<T> (&map)[N],
return false;
}
-} // namespace protocol
} // namespace remoting
-#endif // REMOTING_PROTOCOL_NAME_VALUE_MAP_H_
+#endif // REMOTING_BASE_NAME_VALUE_MAP_H_
« no previous file with comments | « remoting/base/chromoting_event.cc ('k') | remoting/host/host_exit_codes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698