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

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

Issue 12378016: chrome: Update include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 // Implementation of ChunkRange class. 5 // Implementation of ChunkRange class.
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "chrome/browser/safe_browsing/chunk_range.h" 9 #include "chrome/browser/safe_browsing/chunk_range.h"
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/string_split.h"
13 #include "base/string_util.h" 12 #include "base/string_util.h"
14 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
14 #include "base/strings/string_split.h"
15 15
16 ChunkRange::ChunkRange(int start) : start_(start), stop_(start) { 16 ChunkRange::ChunkRange(int start) : start_(start), stop_(start) {
17 } 17 }
18 18
19 ChunkRange::ChunkRange(int start, int stop) : start_(start), stop_(stop) { 19 ChunkRange::ChunkRange(int start, int stop) : start_(start), stop_(stop) {
20 } 20 }
21 21
22 ChunkRange::ChunkRange(const ChunkRange& rhs) 22 ChunkRange::ChunkRange(const ChunkRange& rhs)
23 : start_(rhs.start()), stop_(rhs.stop()) { 23 : start_(rhs.start()), stop_(rhs.stop()) {
24 } 24 }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 107
108 // Adjust our mid point. 108 // Adjust our mid point.
109 if (chunk.stop() < chunk_number) 109 if (chunk.stop() < chunk_number)
110 low = mid + 1; 110 low = mid + 1;
111 else 111 else
112 high = mid - 1; 112 high = mid - 1;
113 } 113 }
114 114
115 return false; 115 return false;
116 } 116 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_downloader.cc ('k') | chrome/browser/safe_browsing/protocol_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698