diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 17:48:40 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 17:48:40 +0000 |
commit | 405ed122f92ca9248de2a65103edba9b02471a9f (patch) | |
tree | 9d8cb957ff47ba6790107feec65acdfa592d9747 /chrome/browser/autocomplete | |
parent | 296d61e24b5a5311f120a767a59ac006176f6f9a (diff) | |
download | chromium_src-405ed122f92ca9248de2a65103edba9b02471a9f.zip chromium_src-405ed122f92ca9248de2a65103edba9b02471a9f.tar.gz chromium_src-405ed122f92ca9248de2a65103edba9b02471a9f.tar.bz2 |
Port some files in chrome/browser/
#ifdef out windows-specific portion of chrome/common/l10n_util.h,
which allows me to port some other files.
I also extracted parts of chrome/views/tree_view.h to tree_model.h,
so that ATL/WTL-specific parts stay in tree_view.h, but tree_model.h
is platform-independent and can be included in files using it as base class.
Review URL: http://codereview.chromium.org/8618
Patch from Paweł Hajdan jr.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r-- | chrome/browser/autocomplete/autocomplete.h | 6 | ||||
-rw-r--r-- | chrome/browser/autocomplete/history_url_provider.h | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/autocomplete/autocomplete.h b/chrome/browser/autocomplete/autocomplete.h index 71da6ef..d60167a 100644 --- a/chrome/browser/autocomplete/autocomplete.h +++ b/chrome/browser/autocomplete/autocomplete.h @@ -439,9 +439,9 @@ class AutocompleteProvider AutocompleteProvider(ACProviderListener* listener, Profile* profile, - char* name) - : listener_(listener), - profile_(profile), + const char* name) + : profile_(profile), + listener_(listener), done_(true), name_(name) { } diff --git a/chrome/browser/autocomplete/history_url_provider.h b/chrome/browser/autocomplete/history_url_provider.h index 6261a47..e8d1838 100644 --- a/chrome/browser/autocomplete/history_url_provider.h +++ b/chrome/browser/autocomplete/history_url_provider.h @@ -39,7 +39,8 @@ class HistoryBackend; // -> DoAutocomplete (for inline autocomplete) // -> URLDatabase::AutocompleteForPrefix (on in-memory DB) // -> HistoryService::ScheduleAutocomplete -// (return to controller) \ +// (return to controller) ---- +// / // HistoryBackend::ScheduleAutocomplete // -> HistoryURLProvider::ExecuteWithDB // -> DoAutocomplete |