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

Unified Diff: ui/display/manager/display_pref_util.h

Issue 2733313002: Move display preference code from ash/display/ to ui/display/manager/. (Closed)
Patch Set: Rebase. Created 3 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 | « ui/display/manager/BUILD.gn ('k') | ui/display/manager/json_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/display/manager/display_pref_util.h
diff --git a/ash/display/display_pref_util.h b/ui/display/manager/display_pref_util.h
similarity index 90%
rename from ash/display/display_pref_util.h
rename to ui/display/manager/display_pref_util.h
index aae59a958947c2034aa6fef18fa335970d177425..dea15cface23e8b9dd412a77c88800018cbb95e5 100644
--- a/ash/display/display_pref_util.h
+++ b/ui/display/manager/display_pref_util.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef ASH_DISPLAY_DISPLAY_PREF_UTIL_H
-#define ASH_DISPLAY_DISPLAY_PREF_UTIL_H
+#ifndef UI_DISPLAY_MANAGER_DISPLAY_PREF_UTIL_H
+#define UI_DISPLAY_MANAGER_DISPLAY_PREF_UTIL_H
#include <map>
#include <string>
#include "base/strings/string_piece.h"
-namespace ash {
+namespace display {
// Utility templates to create enum to string map and
// a function to find an enum value from a string.
@@ -59,6 +59,6 @@ bool ReverseFind(const std::map<T, std::string>* map,
return false;
}
-} // namespace ash
+} // namespace display
-#endif // ASH_DISPLAY_DISPLAY_PREF_UTIL_H
+#endif // UI_DISPLAY_MANAGER_DISPLAY_PREF_UTIL_H
« no previous file with comments | « ui/display/manager/BUILD.gn ('k') | ui/display/manager/json_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698