From d3216441b7726c31fb0ae9b9d90b64421e14ca39 Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Thu, 5 Mar 2009 21:07:27 +0000 Subject: NO CODE CHANGE. Split the lines >80 cols. (Part 1) Review URL: http://codereview.chromium.org/39206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/autocomplete/autocomplete.cc | 9 +++++---- chrome/browser/autocomplete/autocomplete_popup_model.cc | 3 ++- chrome/browser/autocomplete/history_url_provider.cc | 5 +++-- chrome/browser/autocomplete/keyword_provider_unittest.cc | 3 ++- 4 files changed, 12 insertions(+), 8 deletions(-) (limited to 'chrome/browser/autocomplete') diff --git a/chrome/browser/autocomplete/autocomplete.cc b/chrome/browser/autocomplete/autocomplete.cc index 18abde0..d9c3143 100644 --- a/chrome/browser/autocomplete/autocomplete.cc +++ b/chrome/browser/autocomplete/autocomplete.cc @@ -80,10 +80,11 @@ std::string AutocompleteInput::TypeToString(Type type) { } //static -AutocompleteInput::Type AutocompleteInput::Parse(const std::wstring& text, - const std::wstring& desired_tld, - url_parse::Parsed* parts, - std::wstring* scheme) { +AutocompleteInput::Type AutocompleteInput::Parse( + const std::wstring& text, + const std::wstring& desired_tld, + url_parse::Parsed* parts, + std::wstring* scheme) { DCHECK(parts); const size_t first_non_white = text.find_first_not_of(kWhitespaceWide, 0); diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.cc b/chrome/browser/autocomplete/autocomplete_popup_model.cc index ca77882..8cc5ced 100644 --- a/chrome/browser/autocomplete/autocomplete_popup_model.cc +++ b/chrome/browser/autocomplete/autocomplete_popup_model.cc @@ -313,7 +313,8 @@ void AutocompletePopupModel::Observe(NotificationType type, } // FALL THROUGH - case NotificationType::AUTOCOMPLETE_CONTROLLER_SYNCHRONOUS_MATCHES_AVAILABLE: { + case NotificationType:: + AUTOCOMPLETE_CONTROLLER_SYNCHRONOUS_MATCHES_AVAILABLE: { // Update the edit with the possibly new data for this match. // NOTE: This must be done after the code above, so that our internal // state will be consistent when the edit calls back to diff --git a/chrome/browser/autocomplete/history_url_provider.cc b/chrome/browser/autocomplete/history_url_provider.cc index 7ecba26..25f53a6 100644 --- a/chrome/browser/autocomplete/history_url_provider.cc +++ b/chrome/browser/autocomplete/history_url_provider.cc @@ -584,8 +584,9 @@ void HistoryURLProvider::EnsureMatchPresent( matches->push_back(match); } -void HistoryURLProvider::RunAutocompletePasses(const AutocompleteInput& input, - bool fixup_input_and_run_pass_1) { +void HistoryURLProvider::RunAutocompletePasses( + const AutocompleteInput& input, + bool fixup_input_and_run_pass_1) { matches_.clear(); if ((input.type() != AutocompleteInput::UNKNOWN) && diff --git a/chrome/browser/autocomplete/keyword_provider_unittest.cc b/chrome/browser/autocomplete/keyword_provider_unittest.cc index 941c96b..c7dadd5 100644 --- a/chrome/browser/autocomplete/keyword_provider_unittest.cc +++ b/chrome/browser/autocomplete/keyword_provider_unittest.cc @@ -45,7 +45,8 @@ void KeywordProviderTest::SetUp() { { L"z", L"%s=z", L"z" }, }; - model_.reset(new TemplateURLModel(kTestKeywordData, arraysize(kTestKeywordData))); + model_.reset(new TemplateURLModel(kTestKeywordData, + arraysize(kTestKeywordData))); kw_provider_ = new KeywordProvider(NULL, model_.get()); } -- cgit v1.1