summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:51:06 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 16:51:06 +0000
commit0d5c08e06dc7c5e0f2895134cdd9c34c2402551c (patch)
treee3d11f0e103415425ba1d00468ecf38458bda2b0 /chrome/browser/autocomplete
parent1a80b85a916168de948d92abf355df4e20529080 (diff)
downloadchromium_src-0d5c08e06dc7c5e0f2895134cdd9c34c2402551c.zip
chromium_src-0d5c08e06dc7c5e0f2895134cdd9c34c2402551c.tar.gz
chromium_src-0d5c08e06dc7c5e0f2895134cdd9c34c2402551c.tar.bz2
Add OVERRIDE to chrome/browser/.
BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8612007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit.h2
-rw-r--r--chrome/browser/autocomplete/builtin_provider.h3
-rw-r--r--chrome/browser/autocomplete/keyword_provider.h7
-rw-r--r--chrome/browser/autocomplete/search_provider.h2
4 files changed, 8 insertions, 6 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit.h b/chrome/browser/autocomplete/autocomplete_edit.h
index f33e509..6dd75fd 100644
--- a/chrome/browser/autocomplete/autocomplete_edit.h
+++ b/chrome/browser/autocomplete/autocomplete_edit.h
@@ -363,7 +363,7 @@ class AutocompleteEditModel : public AutocompleteControllerDelegate {
};
// AutocompleteControllerDelegate:
- virtual void OnResultChanged(bool default_match_changed);
+ virtual void OnResultChanged(bool default_match_changed) OVERRIDE;
// Returns true if a query to an autocomplete provider is currently
// in progress. This logic should in the future live in
diff --git a/chrome/browser/autocomplete/builtin_provider.h b/chrome/browser/autocomplete/builtin_provider.h
index 8e9bde3..858c92d 100644
--- a/chrome/browser/autocomplete/builtin_provider.h
+++ b/chrome/browser/autocomplete/builtin_provider.h
@@ -25,7 +25,8 @@ class BuiltinProvider : public AutocompleteProvider {
virtual ~BuiltinProvider();
// AutocompleteProvider:
- virtual void Start(const AutocompleteInput& input, bool minimal_changes);
+ virtual void Start(const AutocompleteInput& input,
+ bool minimal_changes) OVERRIDE;
private:
typedef std::vector<string16> Builtins;
diff --git a/chrome/browser/autocomplete/keyword_provider.h b/chrome/browser/autocomplete/keyword_provider.h
index 8f422ad..3867345 100644
--- a/chrome/browser/autocomplete/keyword_provider.h
+++ b/chrome/browser/autocomplete/keyword_provider.h
@@ -72,8 +72,9 @@ class KeywordProvider : public AutocompleteProvider,
string16* remaining_input);
// AutocompleteProvider
- virtual void Start(const AutocompleteInput& input, bool minimal_changes);
- virtual void Stop();
+ virtual void Start(const AutocompleteInput& input,
+ bool minimal_changes) OVERRIDE;
+ virtual void Stop() OVERRIDE;
private:
class ScopedEndExtensionKeywordMode;
@@ -136,7 +137,7 @@ class KeywordProvider : public AutocompleteProvider,
// content::NotificationObserver interface.
virtual void Observe(int type,
const content::NotificationSource& source,
- const content::NotificationDetails& details);
+ const content::NotificationDetails& details) OVERRIDE;
// Model for the keywords. This is only non-null when testing, otherwise the
// TemplateURLService from the Profile is used.
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h
index 845ec7b..cf410f5 100644
--- a/chrome/browser/autocomplete/search_provider.h
+++ b/chrome/browser/autocomplete/search_provider.h
@@ -71,7 +71,7 @@ class SearchProvider : public AutocompleteProvider,
virtual void Stop() OVERRIDE;
// content::URLFetcherDelegate
- virtual void OnURLFetchComplete(const content::URLFetcher* source);
+ virtual void OnURLFetchComplete(const content::URLFetcher* source) OVERRIDE;
// ID used in creating URLFetcher for default provider's suggest results.
static const int kDefaultProviderURLFetcherID;