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

Side by Side Diff: chromeos/geolocation/simple_geolocation_unittest.cc

Issue 1540803002: Switch to standard integer types in chromeos/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes 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 #include <stddef.h>
6
7 #include "base/macros.h"
5 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
6 #include "base/run_loop.h" 9 #include "base/run_loop.h"
7 #include "chromeos/geolocation/simple_geolocation_provider.h" 10 #include "chromeos/geolocation/simple_geolocation_provider.h"
8 #include "net/http/http_response_headers.h" 11 #include "net/http/http_response_headers.h"
9 #include "net/http/http_status_code.h" 12 #include "net/http/http_status_code.h"
10 #include "net/url_request/test_url_fetcher_factory.h" 13 #include "net/url_request/test_url_fetcher_factory.h"
11 #include "net/url_request/url_fetcher_impl.h" 14 #include "net/url_request/url_fetcher_impl.h"
12 #include "net/url_request/url_request_status.h" 15 #include "net/url_request/url_request_status.h"
13 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
14 17
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 } 246 }
244 if (url_factory.attempts() < expected_retries - 1) { 247 if (url_factory.attempts() < expected_retries - 1) {
245 LOG(WARNING) 248 LOG(WARNING)
246 << "SimpleGeolocationTest::InvalidResponse: Too little attempts (" 249 << "SimpleGeolocationTest::InvalidResponse: Too little attempts ("
247 << url_factory.attempts() << "), greater then " << expected_retries - 1 250 << url_factory.attempts() << "), greater then " << expected_retries - 1
248 << " expected."; 251 << " expected.";
249 } 252 }
250 } 253 }
251 254
252 } // namespace chromeos 255 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/geolocation/simple_geolocation_request.cc ('k') | chromeos/login/auth/auth_attempt_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698