| Index: mash/wm/property_util.cc
|
| diff --git a/mash/wm/property_util.cc b/mash/wm/property_util.cc
|
| index 3fffe74e0b53069e270d0568320a28201466098b..e8355fd57e4a665406dcb3d3cc9944a7a1a06937 100644
|
| --- a/mash/wm/property_util.cc
|
| +++ b/mash/wm/property_util.cc
|
| @@ -149,5 +149,18 @@ mojo::Array<uint8_t> GetWindowAppIcon(const mus::Window* window) {
|
| return mojo::Array<uint8_t>();
|
| }
|
|
|
| +void SetAppID(mus::Window* window, const base::string16& app_id) {
|
| + window->SetSharedProperty<base::string16>(
|
| + mus::mojom::WindowManager::kAppID_Property, app_id);
|
| +}
|
| +
|
| +base::string16 GetAppID(const mus::Window* window) {
|
| + if (!window->HasSharedProperty(mus::mojom::WindowManager::kAppID_Property))
|
| + return base::string16();
|
| +
|
| + return window->GetSharedProperty<base::string16>(
|
| + mus::mojom::WindowManager::kAppID_Property);
|
| +}
|
| +
|
| } // namespace wm
|
| } // namespace mash
|
|
|