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

Side by Side Diff: content/browser/geolocation/network_location_provider_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 <stddef.h>
6
5 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
6 #include "base/json/json_writer.h" 8 #include "base/json/json_writer.h"
9 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 13 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
12 #include "base/values.h" 15 #include "base/values.h"
13 #include "content/browser/geolocation/fake_access_token_store.h" 16 #include "content/browser/geolocation/fake_access_token_store.h"
14 #include "content/browser/geolocation/location_arbitrator_impl.h" 17 #include "content/browser/geolocation/location_arbitrator_impl.h"
15 #include "content/browser/geolocation/network_location_provider.h" 18 #include "content/browser/geolocation/network_location_provider.h"
16 #include "content/browser/geolocation/wifi_data_provider.h" 19 #include "content/browser/geolocation/wifi_data_provider.h"
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(1))); 548 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(1)));
546 } else { 549 } else {
547 const int evicted = i - kCacheSize; 550 const int evicted = i - kCacheSize;
548 EXPECT_FALSE(cache.FindPosition(CreateReferenceWifiScanData(evicted))); 551 EXPECT_FALSE(cache.FindPosition(CreateReferenceWifiScanData(evicted)));
549 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(evicted + 1))); 552 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(evicted + 1)));
550 } 553 }
551 } 554 }
552 } 555 }
553 556
554 } // namespace content 557 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geolocation/network_location_provider.h ('k') | content/browser/geolocation/network_location_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698