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

Side by Side Diff: chrome/browser/ui/webui/help/help_handler.h

Issue 476983002: About page should not automatically trigger OS updates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment Created 6 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
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 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void OpenHelpPage(const base::ListValue* args); 64 void OpenHelpPage(const base::ListValue* args);
65 65
66 #if defined(OS_CHROMEOS) 66 #if defined(OS_CHROMEOS)
67 // Sets the release track version. 67 // Sets the release track version.
68 void SetChannel(const base::ListValue* args); 68 void SetChannel(const base::ListValue* args);
69 69
70 // Performs relaunch and powerwash. 70 // Performs relaunch and powerwash.
71 void RelaunchAndPowerwash(const base::ListValue* args); 71 void RelaunchAndPowerwash(const base::ListValue* args);
72 #endif 72 #endif
73 73
74 // Checks for and applies update.
75 void RequestUpdate(const base::ListValue* args);
76
74 // Callback method which forwards status updates to the page. 77 // Callback method which forwards status updates to the page.
75 void SetUpdateStatus(VersionUpdater::Status status, int progress, 78 void SetUpdateStatus(VersionUpdater::Status status, int progress,
76 const base::string16& fail_message); 79 const base::string16& fail_message);
77 80
78 #if defined(OS_MACOSX) 81 #if defined(OS_MACOSX)
79 // Callback method which forwards promotion state to the page. 82 // Callback method which forwards promotion state to the page.
80 void SetPromotionState(VersionUpdater::PromotionState state); 83 void SetPromotionState(VersionUpdater::PromotionState state);
81 #endif 84 #endif
82 85
83 #if defined(OS_CHROMEOS) 86 #if defined(OS_CHROMEOS)
(...skipping 18 matching lines...) Expand all
102 base::CancelableTaskTracker tracker_; 105 base::CancelableTaskTracker tracker_;
103 #endif // defined(OS_CHROMEOS) 106 #endif // defined(OS_CHROMEOS)
104 107
105 // Used for callbacks. 108 // Used for callbacks.
106 base::WeakPtrFactory<HelpHandler> weak_factory_; 109 base::WeakPtrFactory<HelpHandler> weak_factory_;
107 110
108 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 111 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
109 }; 112 };
110 113
111 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 114 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/help/help_browsertest.js ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698