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

Side by Side Diff: chrome/common/media_router/mojo/media_router_struct_traits.cc

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "chrome/browser/media/router/mojo/media_router_struct_traits.h" 5 #include "chrome/common/media_router/mojo/media_router_struct_traits.h"
6 6
7 #include "chrome/browser/media/router/media_source.h" 7 #include "chrome/common/media_router/media_source.h"
8 #include "net/interfaces/ip_address_struct_traits.h" 8 #include "net/interfaces/ip_address_struct_traits.h"
9 #include "url/mojo/url_gurl_struct_traits.h" 9 #include "url/mojo/url_gurl_struct_traits.h"
10 10
11 namespace mojo { 11 namespace mojo {
12 12
13 // static 13 // static
14 bool StructTraits<media_router::mojom::IssueDataView, media_router::IssueInfo>:: 14 bool StructTraits<media_router::mojom::IssueDataView, media_router::IssueInfo>::
15 Read(media_router::mojom::IssueDataView data, 15 Read(media_router::mojom::IssueDataView data,
16 media_router::IssueInfo* out) { 16 media_router::IssueInfo* out) {
17 if (!data.ReadTitle(&out->title)) 17 if (!data.ReadTitle(&out->title))
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 out->set_local(data.is_local()); 205 out->set_local(data.is_local());
206 out->set_for_display(data.for_display()); 206 out->set_for_display(data.for_display());
207 out->set_incognito(data.is_incognito()); 207 out->set_incognito(data.is_incognito());
208 out->set_offscreen_presentation(data.is_offscreen_presentation()); 208 out->set_offscreen_presentation(data.is_offscreen_presentation());
209 209
210 return true; 210 return true;
211 } 211 }
212 212
213 } // namespace mojo 213 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698