Chromium Code Reviews| Index: ui/display/manager/display_string_provider.h |
| diff --git a/ui/display/manager/display_string_provider.h b/ui/display/manager/display_string_provider.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c54cf9aa6d9398f645c12058f97ba3570d01ba70 |
| --- /dev/null |
| +++ b/ui/display/manager/display_string_provider.h |
| @@ -0,0 +1,24 @@ |
| +// 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 UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_ |
| +#define UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_ |
| + |
| +#include <string> |
| + |
| +namespace display { |
| + |
| +// Provides generic display names loaded from resources. |
| +class DisplayStringProvider { |
| + public: |
| + virtual ~DisplayStringProvider() {} |
| + |
| + virtual std::string GetInternalDisplayNameString() = 0; |
| + virtual std::string GetVirtualDisplayNameString() = 0; |
| + virtual std::string GetUnknownDisplayNameString() = 0; |
|
oshima
2016/11/30 18:17:09
Using a interface looks overkill. Can't you just i
kylechar
2016/11/30 21:46:03
I discussed this with sadrul briefly. We will need
|
| +}; |
| + |
| +} // namespace display |
| + |
| +#endif // UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_ |