Chromium Code Reviews

Side by Side Diff: chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc

Issue 629463003: replace OVERRIDE and FINAL with override and final in chrome/browser/ui/[w-z]* (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.
Jump to:
View unified diff |
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/chromeos/proxy_settings_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/proxy_settings_ui.h"
6 6
7 #include "base/memory/ref_counted_memory.h" 7 #include "base/memory/ref_counted_memory.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/chromeos/system/input_device_settings.h" 10 #include "chrome/browser/chromeos/system/input_device_settings.h"
(...skipping 15 matching lines...)
26 using content::WebContents; 26 using content::WebContents;
27 using content::WebUIMessageHandler; 27 using content::WebUIMessageHandler;
28 28
29 namespace { 29 namespace {
30 30
31 class ProxySettingsHTMLSource : public content::URLDataSource { 31 class ProxySettingsHTMLSource : public content::URLDataSource {
32 public: 32 public:
33 explicit ProxySettingsHTMLSource(base::DictionaryValue* localized_strings); 33 explicit ProxySettingsHTMLSource(base::DictionaryValue* localized_strings);
34 34
35 // content::URLDataSource implementation. 35 // content::URLDataSource implementation.
36 virtual std::string GetSource() const OVERRIDE; 36 virtual std::string GetSource() const override;
37 virtual void StartDataRequest( 37 virtual void StartDataRequest(
38 const std::string& path, 38 const std::string& path,
39 int render_process_id, 39 int render_process_id,
40 int render_frame_id, 40 int render_frame_id,
41 const content::URLDataSource::GotDataCallback& callback) OVERRIDE; 41 const content::URLDataSource::GotDataCallback& callback) override;
42 virtual std::string GetMimeType(const std::string&) const OVERRIDE { 42 virtual std::string GetMimeType(const std::string&) const override {
43 return "text/html"; 43 return "text/html";
44 } 44 }
45 virtual bool ShouldAddContentSecurityPolicy() const OVERRIDE { 45 virtual bool ShouldAddContentSecurityPolicy() const override {
46 return false; 46 return false;
47 } 47 }
48 48
49 protected: 49 protected:
50 virtual ~ProxySettingsHTMLSource() {} 50 virtual ~ProxySettingsHTMLSource() {}
51 51
52 private: 52 private:
53 scoped_ptr<base::DictionaryValue> localized_strings_; 53 scoped_ptr<base::DictionaryValue> localized_strings_;
54 54
55 DISALLOW_COPY_AND_ASSIGN(ProxySettingsHTMLSource); 55 DISALLOW_COPY_AND_ASSIGN(ProxySettingsHTMLSource);
(...skipping 68 matching lines...)
124 if (!initialized_handlers_) { 124 if (!initialized_handlers_) {
125 core_handler_->InitializeHandler(); 125 core_handler_->InitializeHandler();
126 proxy_handler_->InitializeHandler(); 126 proxy_handler_->InitializeHandler();
127 initialized_handlers_ = true; 127 initialized_handlers_ = true;
128 } 128 }
129 core_handler_->InitializePage(); 129 core_handler_->InitializePage();
130 proxy_handler_->InitializePage(); 130 proxy_handler_->InitializePage();
131 } 131 }
132 132
133 } // namespace chromeos 133 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/proxy_settings_ui.h ('k') | chrome/browser/ui/webui/chromeos/set_time_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine