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

Unified Diff: chrome/browser/android/omnibox/autocomplete_controller_android.h

Issue 884213005: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 10 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
Index: chrome/browser/android/omnibox/autocomplete_controller_android.h
diff --git a/chrome/browser/android/omnibox/autocomplete_controller_android.h b/chrome/browser/android/omnibox/autocomplete_controller_android.h
index d8e150f67024d163ca311ac0b9a96b3115609d38..6ae205c6ea2cb230ec2515fa69becf4e146d875d 100644
--- a/chrome/browser/android/omnibox/autocomplete_controller_android.h
+++ b/chrome/browser/android/omnibox/autocomplete_controller_android.h
@@ -71,7 +71,7 @@ class AutocompleteControllerAndroid : public AutocompleteControllerDelegate,
jlong elapsed_time_since_input_change);
// KeyedService:
- virtual void Shutdown() override;
+ void Shutdown() override;
class Factory : public BrowserContextKeyedServiceFactory {
public:
@@ -82,26 +82,26 @@ class AutocompleteControllerAndroid : public AutocompleteControllerDelegate,
static Factory* GetInstance();
protected:
- virtual content::BrowserContext* GetBrowserContextToUse(
+ content::BrowserContext* GetBrowserContextToUse(
content::BrowserContext* context) const override;
private:
friend struct DefaultSingletonTraits<Factory>;
Factory();
- virtual ~Factory();
+ ~Factory() override;
// BrowserContextKeyedServiceFactory
- virtual KeyedService* BuildServiceInstanceFor(
+ KeyedService* BuildServiceInstanceFor(
content::BrowserContext* profile) const override;
};
private:
- virtual ~AutocompleteControllerAndroid();
+ ~AutocompleteControllerAndroid() override;
void InitJNI(JNIEnv* env, jobject obj);
// AutocompleteControllerDelegate implementation.
- virtual void OnResultChanged(bool default_match_changed) override;
+ void OnResultChanged(bool default_match_changed) override;
// Notifies the Java AutocompleteController that suggestions were received
// based on the text the user typed in last.

Powered by Google App Engine
This is Rietveld 408576698