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

Side by Side Diff: chromeos/timezone/timezone_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
« no previous file with comments | « chromeos/timezone/timezone_resolver.cc ('k') | chromeos/tools/onc_validator/onc_validator.cc » ('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 #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/geoposition.h" 10 #include "chromeos/geolocation/geoposition.h"
8 #include "chromeos/timezone/timezone_provider.h" 11 #include "chromeos/timezone/timezone_provider.h"
9 #include "chromeos/timezone/timezone_resolver.h" 12 #include "chromeos/timezone/timezone_resolver.h"
10 #include "net/http/http_response_headers.h" 13 #include "net/http/http_response_headers.h"
11 #include "net/http/http_status_code.h" 14 #include "net/http/http_status_code.h"
12 #include "net/url_request/test_url_fetcher_factory.h" 15 #include "net/url_request/test_url_fetcher_factory.h"
13 #include "net/url_request/url_fetcher_impl.h" 16 #include "net/url_request/url_fetcher_impl.h"
14 #include "net/url_request/url_request_status.h" 17 #include "net/url_request/url_request_status.h"
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 TEST(TimeZoneResolverTest, CheckIntervals) { 291 TEST(TimeZoneResolverTest, CheckIntervals) {
289 for (int requests_count = 1; requests_count < 10; ++requests_count) { 292 for (int requests_count = 1; requests_count < 10; ++requests_count) {
290 EXPECT_EQ(requests_count, 293 EXPECT_EQ(requests_count,
291 TimeZoneResolver::MaxRequestsCountForIntervalForTesting( 294 TimeZoneResolver::MaxRequestsCountForIntervalForTesting(
292 TimeZoneResolver::IntervalForNextRequestForTesting( 295 TimeZoneResolver::IntervalForNextRequestForTesting(
293 requests_count))); 296 requests_count)));
294 } 297 }
295 } 298 }
296 299
297 } // namespace chromeos 300 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/timezone/timezone_resolver.cc ('k') | chromeos/tools/onc_validator/onc_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698