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

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

Issue 1868: Moves bookmark related classes into bookmarks directory. There are no... (Closed) Base URL: svn://chrome-svn/chrome/trunk/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/SConscript ('k') | chrome/browser/autocomplete/history_contents_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "chrome/browser/autocomplete/autocomplete.h" 7 #include "chrome/browser/autocomplete/autocomplete.h"
8 8
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "chrome/browser/autocomplete/history_url_provider.h" 10 #include "chrome/browser/autocomplete/history_url_provider.h"
11 #include "chrome/browser/autocomplete/history_contents_provider.h" 11 #include "chrome/browser/autocomplete/history_contents_provider.h"
12 #include "chrome/browser/autocomplete/keyword_provider.h" 12 #include "chrome/browser/autocomplete/keyword_provider.h"
13 #include "chrome/browser/autocomplete/search_provider.h" 13 #include "chrome/browser/autocomplete/search_provider.h"
14 #include "chrome/browser/bookmarks/bookmark_bar_model.h"
14 #include "chrome/browser/external_protocol_handler.h" 15 #include "chrome/browser/external_protocol_handler.h"
15 #include "chrome/browser/bookmark_bar_model.h"
16 #include "chrome/browser/history_tab_ui.h" 16 #include "chrome/browser/history_tab_ui.h"
17 #include "chrome/browser/profile.h" 17 #include "chrome/browser/profile.h"
18 #include "chrome/browser/url_fixer_upper.h" 18 #include "chrome/browser/url_fixer_upper.h"
19 #include "chrome/common/gfx/url_elider.h" 19 #include "chrome/common/gfx/url_elider.h"
20 #include "chrome/common/l10n_util.h" 20 #include "chrome/common/l10n_util.h"
21 #include "chrome/common/pref_names.h" 21 #include "chrome/common/pref_names.h"
22 #include "chrome/common/pref_service.h" 22 #include "chrome/common/pref_service.h"
23 #include "googleurl/src/url_canon_ip.h" 23 #include "googleurl/src/url_canon_ip.h"
24 #include "net/base/net_util.h" 24 #include "net/base/net_util.h"
25 #include "net/base/registry_controlled_domain.h" 25 #include "net/base/registry_controlled_domain.h"
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 ACMatchClassification::NONE)); 737 ACMatchClassification::NONE));
738 } 738 }
739 match.destination_url = 739 match.destination_url =
740 UTF8ToWide(HistoryTabUI::GetHistoryURLWithSearchText( 740 UTF8ToWide(HistoryTabUI::GetHistoryURLWithSearchText(
741 input_.text()).spec()); 741 input_.text()).spec());
742 match.transition = PageTransition::AUTO_BOOKMARK; 742 match.transition = PageTransition::AUTO_BOOKMARK;
743 match.provider = history_contents_provider_; 743 match.provider = history_contents_provider_;
744 result->AddMatch(match); 744 result->AddMatch(match);
745 } 745 }
746 746
OLDNEW
« no previous file with comments | « chrome/browser/SConscript ('k') | chrome/browser/autocomplete/history_contents_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698