Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: chrome/browser/media/router/media_router_metrics.h

Issue 1821823002: [Media Router] Conditionally enable mDNS on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Semicolon for Windows code Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_ 5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_
6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_ 6 #define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 DETACH_ROUTE = 5, 69 DETACH_ROUTE = 5,
70 START_OBSERVING_MEDIA_SINKS = 6, 70 START_OBSERVING_MEDIA_SINKS = 6,
71 STOP_OBSERVING_MEDIA_SINKS = 7, 71 STOP_OBSERVING_MEDIA_SINKS = 7,
72 START_OBSERVING_MEDIA_ROUTES = 8, 72 START_OBSERVING_MEDIA_ROUTES = 8,
73 STOP_OBSERVING_MEDIA_ROUTES = 9, 73 STOP_OBSERVING_MEDIA_ROUTES = 9,
74 LISTEN_FOR_ROUTE_MESSAGES = 10, 74 LISTEN_FOR_ROUTE_MESSAGES = 10,
75 STOP_LISTENING_FOR_ROUTE_MESSAGES = 11, 75 STOP_LISTENING_FOR_ROUTE_MESSAGES = 11,
76 CONNECTION_ERROR = 12, 76 CONNECTION_ERROR = 12,
77 REGISTER_MEDIA_ROUTE_PROVIDER = 13, 77 REGISTER_MEDIA_ROUTE_PROVIDER = 13,
78 CONNECT_ROUTE_BY_ROUTE_ID = 14, 78 CONNECT_ROUTE_BY_ROUTE_ID = 14,
79 ENABLE_MDNS_DISCOVERY = 15,
79 80
80 // NOTE: Add entries only immediately above this line. 81 // NOTE: Add entries only immediately above this line.
81 TOTAL_COUNT = 15 82 TOTAL_COUNT = 16
82 }; 83 };
83 84
84 // The install status of the Media Router component extension. 85 // The install status of the Media Router component extension.
85 enum class MediaRouteProviderVersion { 86 enum class MediaRouteProviderVersion {
86 // Installed but version is invalid or cannot be determined. 87 // Installed but version is invalid or cannot be determined.
87 UNKNOWN = 0, 88 UNKNOWN = 0,
88 // Installed and the extension version matches the browser version. 89 // Installed and the extension version matches the browser version.
89 SAME_VERSION_AS_CHROME = 1, 90 SAME_VERSION_AS_CHROME = 1,
90 // Installed and the extension version is one version behind the browser 91 // Installed and the extension version is one version behind the browser
91 // version. 92 // version.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 // Returns the version status of the Media Router component extension. 153 // Returns the version status of the Media Router component extension.
153 static MediaRouteProviderVersion GetMediaRouteProviderVersion( 154 static MediaRouteProviderVersion GetMediaRouteProviderVersion(
154 const base::Version& extension_version, 155 const base::Version& extension_version,
155 const base::Version& browser_version); 156 const base::Version& browser_version);
156 #endif // !defined(OS_ANDROID) 157 #endif // !defined(OS_ANDROID)
157 }; 158 };
158 159
159 } // namespace media_router 160 } // namespace media_router
160 161
161 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_ 162 #endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_ROUTER_METRICS_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/router/media_router.mojom ('k') | chrome/browser/media/router/media_router_mojo_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698