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

Side by Side Diff: chrome/browser/ui/webui/settings/on_startup_handler.h

Issue 2781623006: MD Settings: Fix Appearance home page URL crash (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/on_startup_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_SETTINGS_ON_STARTUP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SETTINGS_ON_STARTUP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_ON_STARTUP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_ON_STARTUP_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h" 9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
10 10
(...skipping 10 matching lines...) Expand all
21 21
22 // SettingsPageUIHandler: 22 // SettingsPageUIHandler:
23 void RegisterMessages() override; 23 void RegisterMessages() override;
24 void OnJavascriptAllowed() override {} 24 void OnJavascriptAllowed() override {}
25 void OnJavascriptDisallowed() override {} 25 void OnJavascriptDisallowed() override {}
26 26
27 private: 27 private:
28 // Handler for the "getNtpExtension" message. No arguments. 28 // Handler for the "getNtpExtension" message. No arguments.
29 void HandleGetNtpExtension(const base::ListValue* /*args*/); 29 void HandleGetNtpExtension(const base::ListValue* /*args*/);
30 30
31 // Handles the "validateStartupPage" message. Passed a URL that might be a
32 // valid startup page.
33 void HandleValidateStartupPage(const base::ListValue* args);
34
31 DISALLOW_COPY_AND_ASSIGN(OnStartupHandler); 35 DISALLOW_COPY_AND_ASSIGN(OnStartupHandler);
32 }; 36 };
33 37
34 } // namespace settings 38 } // namespace settings
35 39
36 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_ON_STARTUP_HANDLER_H_ 40 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_ON_STARTUP_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/settings/on_startup_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698