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

Side by Side Diff: chrome/browser/ui/webui/options2/chromeos/stats_options_handler.h

Issue 10837331: Options: s/options2/options/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: wut Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_STATS_OPTIONS_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_STATS_OPTIONS_HANDLER_H_
7
8 #include "base/compiler_specific.h"
9 #include "chrome/browser/ui/webui/options2/options_ui.h"
10
11 namespace chromeos {
12 namespace options {
13
14 // ChromeOS handler for "Stats/crash reporting to Google" option of the Advanced
15 // settings page. This handler does only ChromeOS-specific actions while default
16 // code is in Chrome's AdvancedOptionsHandler
17 // (chrome/browser/webui/advanced_options_handler.cc).
18 class StatsOptionsHandler : public ::options::OptionsPageUIHandler {
19 public:
20 StatsOptionsHandler();
21
22 // OptionsPageUIHandler implementation.
23 virtual void GetLocalizedValues(
24 base::DictionaryValue* localized_strings) OVERRIDE;
25
26 // WebUIMessageHandler implementation.
27 virtual void RegisterMessages() OVERRIDE;
28
29 private:
30 void HandleMetricsReportingCheckbox(const base::ListValue* args);
31
32 DISALLOW_COPY_AND_ASSIGN(StatsOptionsHandler);
33 };
34
35 } // namespace options
36 } // namespace chromeos
37
38 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS2_CHROMEOS_STATS_OPTIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698