Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_ | |
| 6 #define UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 namespace display { | |
| 11 | |
| 12 // Provides generic display names loaded from resources. | |
| 13 class DisplayStringProvider { | |
| 14 public: | |
| 15 virtual ~DisplayStringProvider() {} | |
| 16 | |
| 17 virtual std::string GetInternalDisplayNameString() = 0; | |
| 18 virtual std::string GetVirtualDisplayNameString() = 0; | |
| 19 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
| |
| 20 }; | |
| 21 | |
| 22 } // namespace display | |
| 23 | |
| 24 #endif // UI_DISPLAY_MANAGER_DISPLAY_STRING_PROVIDER_H_ | |
| OLD | NEW |