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

Side by Side Diff: chrome/browser/media/router/media_router_type_converters.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 #include <stddef.h>
6
5 #include "chrome/browser/media/router/media_router_type_converters.h" 7 #include "chrome/browser/media/router/media_router_type_converters.h"
6 8
7 using media_router::interfaces::IssuePtr; 9 using media_router::interfaces::IssuePtr;
8 using media_router::interfaces::MediaRoutePtr; 10 using media_router::interfaces::MediaRoutePtr;
9 using media_router::interfaces::MediaSinkPtr; 11 using media_router::interfaces::MediaSinkPtr;
10 12
11 using PresentationConnectionState = 13 using PresentationConnectionState =
12 media_router::interfaces::MediaRouter::PresentationConnectionState; 14 media_router::interfaces::MediaRouter::PresentationConnectionState;
13 15
14 namespace mojo { 16 namespace mojo {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 return content::PRESENTATION_CONNECTION_STATE_CLOSED; 144 return content::PRESENTATION_CONNECTION_STATE_CLOSED;
143 case PresentationConnectionState::PRESENTATION_CONNECTION_STATE_TERMINATED: 145 case PresentationConnectionState::PRESENTATION_CONNECTION_STATE_TERMINATED:
144 return content::PRESENTATION_CONNECTION_STATE_TERMINATED; 146 return content::PRESENTATION_CONNECTION_STATE_TERMINATED;
145 default: 147 default:
146 NOTREACHED() << "Unknown PresentationConnectionState " << state; 148 NOTREACHED() << "Unknown PresentationConnectionState " << state;
147 return content::PRESENTATION_CONNECTION_STATE_TERMINATED; 149 return content::PRESENTATION_CONNECTION_STATE_TERMINATED;
148 } 150 }
149 } 151 }
150 152
151 } // namespace mojo 153 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698