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

Side by Side Diff: chrome/browser/ui/webui/options/chromeos/proxy_handler.h

Issue 8102019: redesign and reimplement proxy config service and tracker, revise proxy ui on cros (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_PROXY_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_PROXY_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_PROXY_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_PROXY_HANDLER_H_
7 7
8 #include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler. h" 8 #include "chrome/browser/ui/webui/options/chromeos/cros_options_page_ui_handler. h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 // ChromeOS proxy options page UI handler. 12 // ChromeOS proxy options page UI handler.
13 class ProxyHandler : public CrosOptionsPageUIHandler { 13 class ProxyHandler : public CrosOptionsPageUIHandler {
14 public: 14 public:
15 ProxyHandler(); 15 explicit ProxyHandler(Profile* profile);
16 virtual ~ProxyHandler(); 16 virtual ~ProxyHandler();
17 17
18 // OptionsPageUIHandler implementation. 18 // OptionsPageUIHandler implementation.
19 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings); 19 virtual void GetLocalizedValues(base::DictionaryValue* localized_strings);
20 20
21 // Set network name for proxy page title. 21 // Set network name for proxy page title.
22 void SetNetworkName(const std::string& name); 22 void SetNetworkName(const std::string& name);
23 23
24 private: 24 private:
25 25
26 DISALLOW_COPY_AND_ASSIGN(ProxyHandler); 26 DISALLOW_COPY_AND_ASSIGN(ProxyHandler);
27 }; 27 };
28 28
29 } // namespace chromeos 29 } // namespace chromeos
30 30
31 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_PROXY_HANDLER_H_ 31 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CHROMEOS_PROXY_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698