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

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

Issue 6591034: Move core pieces of geolocation from chrome to content.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix Linux build 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 "content/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);
11 } 11 }
12 12
13 } // namespace 13 } // namespace
14 14
15 CellData::CellData() 15 CellData::CellData()
(...skipping 80 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

Powered by Google App Engine
This is Rietveld 408576698