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

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

Issue 27066004: Add include of <algorithm> for compilation on VS2013 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/browser/geolocation/wifi_data.h" 5 #include "content/browser/geolocation/wifi_data.h"
6 6
7 #include <algorithm>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 10
9 namespace content { 11 namespace content {
10 12
11 AccessPointData::AccessPointData() 13 AccessPointData::AccessPointData()
12 : radio_signal_strength(kint32min), 14 : radio_signal_strength(kint32min),
13 channel(kint32min), 15 channel(kint32min),
14 signal_to_noise(kint32min) { 16 signal_to_noise(kint32min) {
15 } 17 }
16 18
(...skipping 24 matching lines...) Expand all
41 ++num_common; 43 ++num_common;
42 } 44 }
43 } 45 }
44 DCHECK(num_common <= min_ap_count); 46 DCHECK(num_common <= min_ap_count);
45 47
46 // Test how many have changed. 48 // Test how many have changed.
47 return max_ap_count > num_common + difference_threadhold; 49 return max_ap_count > num_common + difference_threadhold;
48 } 50 }
49 51
50 } // namespace content 52 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698