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

Side by Side Diff: chrome/test/remoting/remote_test_helper.h

Issue 1548153002: Switch to standard integer types in chrome/. (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
« no previous file with comments | « chrome/test/remoting/remote_desktop_browsertest.cc ('k') | chrome/test/remoting/waiter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_TEST_REMOTING_REMOTE_TEST_HELPER_H_ 5 #ifndef CHROME_TEST_REMOTING_REMOTE_TEST_HELPER_H_
6 #define CHROME_TEST_REMOTING_REMOTE_TEST_HELPER_H_ 6 #define CHROME_TEST_REMOTING_REMOTE_TEST_HELPER_H_
7 7
8 #include "base/debug/stack_trace.h" 8 #include "base/debug/stack_trace.h"
9 #include "base/macros.h"
9 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
10 #include "content/public/test/browser_test_utils.h" 11 #include "content/public/test/browser_test_utils.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 namespace { 14 namespace {
14 15
15 // ASSERT_TRUE can only be used in void returning functions. This version 16 // ASSERT_TRUE can only be used in void returning functions. This version
16 // should be used in non-void-returning functions. 17 // should be used in non-void-returning functions.
17 inline void _ASSERT_TRUE(bool condition) { 18 inline void _ASSERT_TRUE(bool condition) {
18 if (!condition) { 19 if (!condition) {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 content::WebContents* web_content_; 87 content::WebContents* web_content_;
87 88
88 // Check for a valid last event 89 // Check for a valid last event
89 bool IsValidEvent(); 90 bool IsValidEvent();
90 DISALLOW_COPY_AND_ASSIGN(RemoteTestHelper); 91 DISALLOW_COPY_AND_ASSIGN(RemoteTestHelper);
91 }; 92 };
92 93
93 } // namespace remoting 94 } // namespace remoting
94 95
95 #endif // CHROME_TEST_REMOTING_REMOTE_TEST_HELPER_H_ 96 #endif // CHROME_TEST_REMOTING_REMOTE_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/test/remoting/remote_desktop_browsertest.cc ('k') | chrome/test/remoting/waiter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698