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

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

Issue 16755004: Use a direct include of strings headers in content/browser/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 "base/json/json_reader.h" 5 #include "base/json/json_reader.h"
6 #include "base/json/json_writer.h" 6 #include "base/json/json_writer.h"
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "content/browser/geolocation/fake_access_token_store.h" 13 #include "content/browser/geolocation/fake_access_token_store.h"
14 #include "content/browser/geolocation/location_arbitrator_impl.h" 14 #include "content/browser/geolocation/location_arbitrator_impl.h"
15 #include "content/browser/geolocation/network_location_provider.h" 15 #include "content/browser/geolocation/network_location_provider.h"
16 #include "net/url_request/test_url_fetcher_factory.h" 16 #include "net/url_request/test_url_fetcher_factory.h"
17 #include "net/url_request/url_request_status.h" 17 #include "net/url_request/url_request_status.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 namespace content { 20 namespace content {
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(1))); 575 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(1)));
576 } else { 576 } else {
577 const int evicted = i - kCacheSize; 577 const int evicted = i - kCacheSize;
578 EXPECT_FALSE(cache.FindPosition(CreateReferenceWifiScanData(evicted))); 578 EXPECT_FALSE(cache.FindPosition(CreateReferenceWifiScanData(evicted)));
579 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(evicted + 1))); 579 EXPECT_TRUE(cache.FindPosition(CreateReferenceWifiScanData(evicted + 1)));
580 } 580 }
581 } 581 }
582 } 582 }
583 583
584 } // namespace content 584 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geolocation/network_location_provider.h ('k') | content/browser/geolocation/network_location_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698