diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-02-13 10:55:42 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-03-05 13:33:38 +0000 |
commit | 248b70b82a40964d5594eb04feca0fa36716185d (patch) | |
tree | 44e31d9dd0ac2cb79f48633eefbc5496e013c347 /chromium/chrome/common/media_router/media_route_provider_helper.h | |
parent | cabfcdd1db482729ded525feae56911a99792773 (diff) | |
download | qtwebengine-chromium-248b70b82a40964d5594eb04feca0fa36716185d.tar.gz |
BASELINE: Update Chromium to 79.0.3945.147
And new simplified snapshot filter
Change-Id: I7c692bedd5b3833f05565bd6f6939115350b233a
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/chrome/common/media_router/media_route_provider_helper.h')
-rw-r--r-- | chromium/chrome/common/media_router/media_route_provider_helper.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/chromium/chrome/common/media_router/media_route_provider_helper.h b/chromium/chrome/common/media_router/media_route_provider_helper.h new file mode 100644 index 00000000000..5f33bc6eea0 --- /dev/null +++ b/chromium/chrome/common/media_router/media_route_provider_helper.h @@ -0,0 +1,27 @@ +// Copyright 2017 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 CHROME_COMMON_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_HELPER_H_ +#define CHROME_COMMON_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_HELPER_H_ + +#include <string> + +namespace media_router { + +// Each MediaRouteProvider is associated with a unique ID. This enum must be +// kept in sync with mojom::MediaRouteProvider::Id, except for |UNKNOWN|, which +// is not present in the Mojo enum. +enum MediaRouteProviderId { + EXTENSION, + WIRED_DISPLAY, + CAST, + DIAL, + UNKNOWN // New values must be added above this value. +}; + +const char* ProviderIdToString(MediaRouteProviderId provider_id); + +} // namespace media_router + +#endif // CHROME_COMMON_MEDIA_ROUTER_MEDIA_ROUTE_PROVIDER_HELPER_H_ |