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

Side by Side Diff: components/captive_portal/captive_portal_detector_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "components/captive_portal/captive_portal_detector.h" 5 #include "components/captive_portal/captive_portal_detector.h"
6 6
7 #include "base/basictypes.h"
8 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/run_loop.h" 11 #include "base/run_loop.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/thread_task_runner_handle.h"
13 #include "base/time/time.h" 13 #include "base/time/time.h"
14 #include "components/captive_portal/captive_portal_testing_utils.h" 14 #include "components/captive_portal/captive_portal_testing_utils.h"
15 #include "net/base/net_errors.h" 15 #include "net/base/net_errors.h"
16 #include "net/url_request/url_request_test_util.h" 16 #include "net/url_request/url_request_test_util.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "url/gurl.h" 18 #include "url/gurl.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 202
203 TEST_F(CaptivePortalDetectorTest, Cancel) { 203 TEST_F(CaptivePortalDetectorTest, Cancel) {
204 RunCancelTest(); 204 RunCancelTest();
205 CaptivePortalDetector::Results results; 205 CaptivePortalDetector::Results results;
206 results.result = captive_portal::RESULT_INTERNET_CONNECTED; 206 results.result = captive_portal::RESULT_INTERNET_CONNECTED;
207 results.response_code = 204; 207 results.response_code = 204;
208 RunTest(results, net::OK, 204, NULL); 208 RunTest(results, net::OK, 204, NULL);
209 } 209 }
210 210
211 } // namespace captive_portal 211 } // namespace captive_portal
OLDNEW
« no previous file with comments | « components/captive_portal/captive_portal_detector.h ('k') | components/captive_portal/captive_portal_testing_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698