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

Side by Side Diff: chrome/browser/importer/firefox_importer_utils.cc

Issue 7004007: iwyu: Include stringprintf.h where appropriate, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix 2. Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/importer/firefox_importer_utils.h" 5 #include "chrome/browser/importer/firefox_importer_utils.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/stringprintf.h"
14 #include "base/string_number_conversions.h"
13 #include "base/string_split.h" 15 #include "base/string_split.h"
14 #include "base/string_util.h" 16 #include "base/string_util.h"
15 #include "base/string_number_conversions.h"
16 #include "base/utf_string_conversions.h" 17 #include "base/utf_string_conversions.h"
17 #include "base/values.h" 18 #include "base/values.h"
18 #include "chrome/browser/search_engines/template_url.h" 19 #include "chrome/browser/search_engines/template_url.h"
19 #include "chrome/browser/search_engines/template_url_model.h" 20 #include "chrome/browser/search_engines/template_url_model.h"
20 #include "chrome/browser/search_engines/template_url_parser.h" 21 #include "chrome/browser/search_engines/template_url_parser.h"
21 #include "chrome/browser/search_engines/template_url_prepopulate_data.h" 22 #include "chrome/browser/search_engines/template_url_prepopulate_data.h"
22 #include "googleurl/src/gurl.h" 23 #include "googleurl/src/gurl.h"
23 24
24 namespace { 25 namespace {
25 26
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 } 456 }
456 457
457 // String values have double quotes we don't need to return to the caller. 458 // String values have double quotes we don't need to return to the caller.
458 if (content[start] == '\"' && content[stop - 1] == '\"') { 459 if (content[start] == '\"' && content[stop - 1] == '\"') {
459 ++start; 460 ++start;
460 --stop; 461 --stop;
461 } 462 }
462 463
463 return content.substr(start, stop - start); 464 return content.substr(start, stop - start);
464 } 465 }
OLDNEW
« no previous file with comments | « chrome/browser/history/text_database.cc ('k') | chrome/browser/importer/nss_decryptor_system_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698