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

Side by Side Diff: chrome/browser/safe_browsing/chunk_range.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 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 // Implementation of ChunkRange class. 5 // Implementation of ChunkRange class.
6 6
7 #include <stddef.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 10
9 #include "chrome/browser/safe_browsing/chunk_range.h" 11 #include "chrome/browser/safe_browsing/chunk_range.h"
10 12
11 #include "base/logging.h" 13 #include "base/logging.h"
12 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
13 #include "base/strings/string_split.h" 15 #include "base/strings/string_split.h"
14 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
15 17
16 namespace safe_browsing { 18 namespace safe_browsing {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 if (chunk.stop() < chunk_number) 111 if (chunk.stop() < chunk_number)
110 low = mid + 1; 112 low = mid + 1;
111 else 113 else
112 high = mid - 1; 114 high = mid - 1;
113 } 115 }
114 116
115 return false; 117 return false;
116 } 118 }
117 119
118 } // namespace safe_browsing 120 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698