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

Unified Diff: chrome/browser/autocomplete/autocomplete.h

Issue 3047: Merge r1978 to Beta to stop sending queries with username info,... (Closed) Base URL: svn://chrome-svn/chrome/branches/chrome_official_branch/src/
Patch Set: Created 12 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete.h
===================================================================
--- chrome/browser/autocomplete/autocomplete.h (revision 2179)
+++ chrome/browser/autocomplete/autocomplete.h (working copy)
@@ -218,9 +218,13 @@
// Resets all internal variables to the null-constructed state.
void Clear();
+ // Returns parsed URL components.
+ const url_parse::Parsed& parts() const { return parts_; }
+
private:
std::wstring text_;
Type type_;
+ url_parse::Parsed parts_;
std::wstring scheme_;
std::wstring desired_tld_;
bool prevent_inline_autocomplete_;
@@ -797,4 +801,4 @@
const AutocompleteResult& result;
};
-#endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_H__
+#endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_H_
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698