summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/media_router/media_route_provider_helper.h
blob: 5f33bc6eea04d33691f6aca7b1e038379b971b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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_