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

Unified Diff: chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc

Issue 854063002: Update {virtual,override,final} to follow C++11 style chrome/browser/ui/webui/chromeos. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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/ui/webui/chromeos/mobile_setup_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
index 7d9dbd5567672b3be6f79eda02c0bc1af9e6a2e9..31b9e821f05046609f6d16c65dfbc6f5ee193e50 100644
--- a/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
@@ -143,21 +143,19 @@ class MobileSetupUIHTMLSource : public content::URLDataSource {
MobileSetupUIHTMLSource();
// content::URLDataSource implementation.
- virtual std::string GetSource() const override;
- virtual void StartDataRequest(
+ std::string GetSource() const override;
+ void StartDataRequest(
const std::string& path,
int render_process_id,
int render_frame_id,
const content::URLDataSource::GotDataCallback& callback) override;
- virtual std::string GetMimeType(const std::string&) const override {
+ std::string GetMimeType(const std::string&) const override {
return "text/html";
}
- virtual bool ShouldAddContentSecurityPolicy() const override {
- return false;
- }
+ bool ShouldAddContentSecurityPolicy() const override { return false; }
private:
- virtual ~MobileSetupUIHTMLSource() {}
+ ~MobileSetupUIHTMLSource() override {}
void GetPropertiesAndStartDataRequest(
const content::URLDataSource::GotDataCallback& callback,
@@ -182,10 +180,10 @@ class MobileSetupHandler
public base::SupportsWeakPtr<MobileSetupHandler> {
public:
MobileSetupHandler();
- virtual ~MobileSetupHandler();
+ ~MobileSetupHandler() override;
// WebUIMessageHandler implementation.
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
private:
enum Type {
@@ -201,10 +199,9 @@ class MobileSetupHandler
};
// MobileActivator::Observer.
- virtual void OnActivationStateChanged(
- const NetworkState* network,
- MobileActivator::PlanActivationState new_state,
- const std::string& error_description) override;
+ void OnActivationStateChanged(const NetworkState* network,
+ MobileActivator::PlanActivationState new_state,
+ const std::string& error_description) override;
// Callbacks for NetworkConfigurationHandler::GetProperties.
void GetPropertiesAndCallStatusChanged(
@@ -228,10 +225,8 @@ class MobileSetupHandler
void HandleGetDeviceInfo(const base::ListValue* args);
// NetworkStateHandlerObserver implementation.
- virtual void NetworkConnectionStateChanged(
- const NetworkState* network) override;
- virtual void DefaultNetworkChanged(
- const NetworkState* default_network) override;
+ void NetworkConnectionStateChanged(const NetworkState* network) override;
+ void DefaultNetworkChanged(const NetworkState* default_network) override;
// Updates |lte_portal_reachable_| for lte network |network| and notifies
// webui of the new state if the reachability changed or |force_notification|
« no previous file with comments | « chrome/browser/ui/webui/chromeos/mobile_setup_ui.h ('k') | chrome/browser/ui/webui/chromeos/network_config_message_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698