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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_match.cc

Issue 16746002: Use a direct include of strings headers in chrome/auto*/. (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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/autocomplete/autocomplete_match.h" 5 #include "chrome/browser/autocomplete/autocomplete_match.h"
6 6
7 #include "base/i18n/time_formatting.h" 7 #include "base/i18n/time_formatting.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/string16.h" 9 #include "base/strings/string16.h"
10 #include "base/string_util.h"
11 #include "base/stringprintf.h"
12 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_util.h"
12 #include "base/strings/stringprintf.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "chrome/browser/autocomplete/autocomplete_provider.h" 15 #include "chrome/browser/autocomplete/autocomplete_provider.h"
16 #include "chrome/browser/search_engines/template_url.h" 16 #include "chrome/browser/search_engines/template_url.h"
17 #include "chrome/browser/search_engines/template_url_service.h" 17 #include "chrome/browser/search_engines/template_url_service.h"
18 #include "chrome/browser/search_engines/template_url_service_factory.h" 18 #include "chrome/browser/search_engines/template_url_service_factory.h"
19 #include "content/public/common/url_constants.h" 19 #include "content/public/common/url_constants.h"
20 #include "grit/theme_resources.h" 20 #include "grit/theme_resources.h"
21 21
22 namespace { 22 namespace {
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 << " is unsorted in relation to last offset of " << last_offset 468 << " is unsorted in relation to last offset of " << last_offset
469 << ". Provider: " << provider_name << "."; 469 << ". Provider: " << provider_name << ".";
470 DCHECK_LT(i->offset, text.length()) 470 DCHECK_LT(i->offset, text.length())
471 << " Classification of [" << i->offset << "," << text.length() 471 << " Classification of [" << i->offset << "," << text.length()
472 << "] is out of bounds for \"" << text << "\". Provider: " 472 << "] is out of bounds for \"" << text << "\". Provider: "
473 << provider_name << "."; 473 << provider_name << ".";
474 last_offset = i->offset; 474 last_offset = i->offset;
475 } 475 }
476 } 476 }
477 #endif 477 #endif
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_input_unittest.cc ('k') | chrome/browser/autocomplete/autocomplete_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698