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

Side by Side Diff: extensions/browser/api/cast_channel/cast_test_util.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_ 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_
6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_ 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/macros.h"
11 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
12 #include "extensions/browser/api/cast_channel/cast_socket.h" 13 #include "extensions/browser/api/cast_channel/cast_socket.h"
13 #include "extensions/browser/api/cast_channel/cast_transport.h" 14 #include "extensions/browser/api/cast_channel/cast_transport.h"
14 #include "extensions/common/api/cast_channel/cast_channel.pb.h" 15 #include "extensions/common/api/cast_channel/cast_channel.pb.h"
15 #include "net/base/ip_endpoint.h" 16 #include "net/base/ip_endpoint.h"
16 #include "testing/gmock/include/gmock/gmock.h" 17 #include "testing/gmock/include/gmock/gmock.h"
17 18
18 namespace extensions { 19 namespace extensions {
19 namespace api { 20 namespace api {
20 namespace cast_channel { 21 namespace cast_channel {
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 AND_1_VALUE_PARAMS(rv)) { 117 AND_1_VALUE_PARAMS(rv)) {
117 base::MessageLoop::current()->PostTask( 118 base::MessageLoop::current()->PostTask(
118 FROM_HERE, base::Bind(testing::get<cb_idx>(args), rv)); 119 FROM_HERE, base::Bind(testing::get<cb_idx>(args), rv));
119 } 120 }
120 121
121 } // namespace cast_channel 122 } // namespace cast_channel
122 } // namespace api 123 } // namespace api
123 } // namespace extensions 124 } // namespace extensions
124 125
125 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_ 126 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket_unittest.cc ('k') | extensions/browser/api/cast_channel/cast_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698