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

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

Issue 10796033: Move files related to registry-controlled domains into a new net/base/registry_controlled_domains/ … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Update checkout Created 8 years, 5 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_input.h" 5 #include "chrome/browser/autocomplete/autocomplete_input.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/browser/external_protocol/external_protocol_handler.h" 9 #include "chrome/browser/external_protocol/external_protocol_handler.h"
10 #include "chrome/browser/net/url_fixer_upper.h" 10 #include "chrome/browser/net/url_fixer_upper.h"
11 #include "chrome/browser/profiles/profile_io_data.h" 11 #include "chrome/browser/profiles/profile_io_data.h"
12 #include "content/public/common/url_constants.h" 12 #include "content/public/common/url_constants.h"
13 #include "googleurl/src/url_canon_ip.h" 13 #include "googleurl/src/url_canon_ip.h"
14 #include "net/base/net_util.h" 14 #include "net/base/net_util.h"
15 #include "net/base/registry_controlled_domain.h" 15 #include "net/base/registry_controlled_domains/registry_controlled_domain.h"
16 16
17 AutocompleteInput::AutocompleteInput() 17 AutocompleteInput::AutocompleteInput()
18 : type_(INVALID), 18 : type_(INVALID),
19 prevent_inline_autocomplete_(false), 19 prevent_inline_autocomplete_(false),
20 prefer_keyword_(false), 20 prefer_keyword_(false),
21 allow_exact_keyword_match_(true), 21 allow_exact_keyword_match_(true),
22 matches_requested_(ALL_MATCHES) { 22 matches_requested_(ALL_MATCHES) {
23 } 23 }
24 24
25 AutocompleteInput::AutocompleteInput(const string16& text, 25 AutocompleteInput::AutocompleteInput(const string16& text,
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 473
474 void AutocompleteInput::Clear() { 474 void AutocompleteInput::Clear() {
475 text_.clear(); 475 text_.clear();
476 type_ = INVALID; 476 type_ = INVALID;
477 parts_ = url_parse::Parsed(); 477 parts_ = url_parse::Parsed();
478 scheme_.clear(); 478 scheme_.clear();
479 desired_tld_.clear(); 479 desired_tld_.clear();
480 prevent_inline_autocomplete_ = false; 480 prevent_inline_autocomplete_ = false;
481 prefer_keyword_ = false; 481 prefer_keyword_ = false;
482 } 482 }
OLDNEW
« no previous file with comments | « chrome/browser/alternate_nav_url_fetcher.cc ('k') | chrome/browser/autocomplete/history_url_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698