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

Side by Side Diff: chrome/browser/geolocation/device_data_provider.cc

Issue 6597044: Revert 76228 - Move core pieces of geolocation from chrome to content.This is... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/geolocation/device_data_provider.h" 5 #include "chrome/browser/geolocation/device_data_provider.h"
6 6
7 namespace { 7 namespace {
8 8
9 bool CellDataMatches(const CellData &data1, const CellData &data2) { 9 bool CellDataMatches(const CellData &data1, const CellData &data2) {
10 return data1.Matches(data2); 10 return data1.Matches(data2);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 while (iter1 != router_data.end()) { 96 while (iter1 != router_data.end()) {
97 if (iter1->mac_address != iter2->mac_address) { 97 if (iter1->mac_address != iter2->mac_address) {
98 // There is a difference between the sets of routers. 98 // There is a difference between the sets of routers.
99 return true; 99 return true;
100 } 100 }
101 ++iter1; 101 ++iter1;
102 ++iter2; 102 ++iter2;
103 } 103 }
104 return false; 104 return false;
105 } 105 }
OLDNEW
« no previous file with comments | « chrome/browser/geolocation/device_data_provider.h ('k') | chrome/browser/geolocation/device_data_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698