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

Side by Side Diff: base/test/expectations/parser.cc

Issue 16320009: Use a direct include of strings headers in base/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « base/sys_info_win.cc ('k') | base/test/perf_test_suite.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "base/test/expectations/parser.h" 5 #include "base/test/expectations/parser.h"
6 6
7 #include "base/string_util.h" 7 #include "base/strings/string_util.h"
8 8
9 namespace test_expectations { 9 namespace test_expectations {
10 10
11 Parser::Parser(Delegate* delegate, const std::string& input) 11 Parser::Parser(Delegate* delegate, const std::string& input)
12 : delegate_(delegate), 12 : delegate_(delegate),
13 input_(input), 13 input_(input),
14 pos_(NULL), 14 pos_(NULL),
15 end_(NULL), 15 end_(NULL),
16 line_number_(0), 16 line_number_(0),
17 data_error_(false) { 17 data_error_(false) {
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 delegate_->OnSyntaxError(message); 192 delegate_->OnSyntaxError(message);
193 return NULL; 193 return NULL;
194 } 194 }
195 195
196 void Parser::DataError(const std::string& error) { 196 void Parser::DataError(const std::string& error) {
197 data_error_ = true; 197 data_error_ = true;
198 delegate_->OnDataError(error); 198 delegate_->OnDataError(error);
199 } 199 }
200 200
201 } // namespace test_expectations 201 } // namespace test_expectations
OLDNEW
« no previous file with comments | « base/sys_info_win.cc ('k') | base/test/perf_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698