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

Unified Diff: chrome/browser/extensions/activity_log/fullstream_ui_policy.h

Issue 666153002: Standardize usage of virtual/override/final in chrome/browser/extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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/extensions/activity_log/fullstream_ui_policy.h
diff --git a/chrome/browser/extensions/activity_log/fullstream_ui_policy.h b/chrome/browser/extensions/activity_log/fullstream_ui_policy.h
index cdcc4465beddf48ac1eec0ac7abf9a91895c3633..8a583e49124632b7be147132be88fbf05b2876aa 100644
--- a/chrome/browser/extensions/activity_log/fullstream_ui_policy.h
+++ b/chrome/browser/extensions/activity_log/fullstream_ui_policy.h
@@ -26,31 +26,31 @@ class FullStreamUIPolicy : public ActivityLogDatabasePolicy {
// For more info about these member functions, see the super class.
explicit FullStreamUIPolicy(Profile* profile);
- virtual void ProcessAction(scoped_refptr<Action> action) override;
+ void ProcessAction(scoped_refptr<Action> action) override;
- virtual void ReadFilteredData(
+ void ReadFilteredData(
const std::string& extension_id,
const Action::ActionType type,
const std::string& api_name,
const std::string& page_url,
const std::string& arg_url,
const int days_ago,
- const base::Callback
- <void(scoped_ptr<Action::ActionVector>)>& callback) override;
+ const base::Callback<void(scoped_ptr<Action::ActionVector>)>& callback)
+ override;
- virtual void Close() override;
+ void Close() override;
// Remove the actions stored for this policy according to the passed IDs.
- virtual void RemoveActions(const std::vector<int64>& action_ids) override;
+ void RemoveActions(const std::vector<int64>& action_ids) override;
// Clean the URL data stored for this policy.
- virtual void RemoveURLs(const std::vector<GURL>& restrict_urls) override;
+ void RemoveURLs(const std::vector<GURL>& restrict_urls) override;
// Clean the data related to this extension for this policy.
- virtual void RemoveExtensionData(const std::string& extension_id) override;
+ void RemoveExtensionData(const std::string& extension_id) override;
// Delete everything in the database.
- virtual void DeleteDatabase() override;
+ void DeleteDatabase() override;
// Database table schema.
static const char* kTableName;
@@ -61,14 +61,14 @@ class FullStreamUIPolicy : public ActivityLogDatabasePolicy {
protected:
// Only ever run by OnDatabaseClose() below; see the comments on the
// ActivityDatabase class for an overall discussion of how cleanup works.
- virtual ~FullStreamUIPolicy();
+ ~FullStreamUIPolicy() override;
// The ActivityDatabase::Delegate interface. These are always called from
// the database thread.
- virtual bool InitDatabase(sql::Connection* db) override;
- virtual bool FlushDatabase(sql::Connection* db) override;
- virtual void OnDatabaseFailure() override;
- virtual void OnDatabaseClose() override;
+ bool InitDatabase(sql::Connection* db) override;
+ bool FlushDatabase(sql::Connection* db) override;
+ void OnDatabaseFailure() override;
+ void OnDatabaseClose() override;
// Strips arguments if needed by policy. May return the original object (if
// unmodified), or a copy (if modifications were made). The implementation

Powered by Google App Engine
This is Rietveld 408576698