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

Unified Diff: ash/display/ash_display_string_provider.h

Issue 2523873002: Remove DisplayChangeObserver ash dependencies. (Closed)
Patch Set: Remove comment. Created 4 years, 1 month 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
Index: ash/display/ash_display_string_provider.h
diff --git a/ash/display/ash_display_string_provider.h b/ash/display/ash_display_string_provider.h
new file mode 100644
index 0000000000000000000000000000000000000000..f00e1fb6ec5e392123d8d1af10bfa314664510dc
--- /dev/null
+++ b/ash/display/ash_display_string_provider.h
@@ -0,0 +1,30 @@
+// Copyright 2016 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 ASH_DISPLAY_ASH_DISPLAY_STRING_PROVIDER_H_
+#define ASH_DISPLAY_ASH_DISPLAY_STRING_PROVIDER_H_
+
+#include <string>
+
+#include "base/macros.h"
+#include "ui/display/manager/display_string_provider.h"
+
+namespace ash {
+
+class AshDisplayStringProvider : public display::DisplayStringProvider {
+ public:
+ AshDisplayStringProvider() {}
+ ~AshDisplayStringProvider() override {}
+
+ std::string GetInternalDisplayNameString() override;
+ std::string GetVirtualDisplayNameString() override;
+ std::string GetUnknownDisplayNameString() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(AshDisplayStringProvider);
+};
+
+} // namespace ash
+
+#endif // ASH_DISPLAY_ASH_DISPLAY_STRING_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698