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

Unified Diff: chrome/browser/ui/webui/chromeos/sim_unlock_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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/set_time_ui.cc ('k') | chrome/browser/ui/webui/chromeos/slow_trace_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
diff --git a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
index 8a97845fcfbdc48f6e867bb98cde6f488fe4b7f5..7f32951c3801ac10f46e70ae1b54d2371a6fbd14 100644
--- a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
+++ b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
@@ -79,21 +79,19 @@ class SimUnlockUIHTMLSource : public content::URLDataSource {
SimUnlockUIHTMLSource();
// 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 ~SimUnlockUIHTMLSource() {}
+ ~SimUnlockUIHTMLSource() override {}
std::string service_path_;
DISALLOW_COPY_AND_ASSIGN(SimUnlockUIHTMLSource);
@@ -105,13 +103,13 @@ class SimUnlockHandler : public WebUIMessageHandler,
public NetworkStateHandlerObserver {
public:
SimUnlockHandler();
- virtual ~SimUnlockHandler();
+ ~SimUnlockHandler() override;
// WebUIMessageHandler implementation.
- virtual void RegisterMessages() override;
+ void RegisterMessages() override;
// NetworkStateHandlerObserver implementation.
- virtual void DeviceListChanged() override;
+ void DeviceListChanged() override;
private:
// Should keep this state enum in sync with similar one in JS code.
« no previous file with comments | « chrome/browser/ui/webui/chromeos/set_time_ui.cc ('k') | chrome/browser/ui/webui/chromeos/slow_trace_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698