OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
mark a. foltz
2015/10/12 21:56:10
Maybe this should be named render_frame_host_id.h?
imcheng
2015/10/17 01:00:24
Done.
| |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_MEDIA_ROUTER_RENDER_FRAME_HOST_HELPER_H_ | |
6 #define CHROME_BROWSER_MEDIA_ROUTER_RENDER_FRAME_HOST_HELPER_H_ | |
7 | |
8 #include <utility> | |
9 | |
10 #include "content/public/browser/render_frame_host.h" | |
11 #include "content/public/browser/render_process_host.h" | |
12 | |
13 namespace media_router { | |
14 | |
15 using RenderFrameHostId = | |
16 std::pair<decltype(((content::RenderProcessHost*)nullptr)->GetID()), | |
mark a. foltz
2015/10/12 21:56:10
Is decltype necessary here? It seems to only be r
imcheng
2015/10/17 01:00:24
Done.
| |
17 decltype(((content::RenderFrameHost*)nullptr)->GetRoutingID())>; | |
18 | |
19 } // namespace media_router | |
20 | |
21 #endif // CHROME_BROWSER_MEDIA_ROUTER_RENDER_FRAME_HOST_HELPER_H_ | |
OLD | NEW |