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

Side by Side Diff: ios/chrome/browser/ui/webui/version_handler.h

Issue 2116673002: [ios] Moved WebUI provider code to ios/web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review Created 4 years, 5 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_H_
6 #define IOS_CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_H_ 6 #define IOS_CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ios/public/provider/web/web_ui_ios_message_handler.h" 9 #include "ios/web/public/webui/web_ui_ios_message_handler.h"
10 10
11 namespace base { 11 namespace base {
12 class ListValue; 12 class ListValue;
13 } 13 }
14 14
15 // Handler class for Version page operations. 15 // Handler class for Version page operations.
16 class VersionHandler : public web::WebUIIOSMessageHandler { 16 class VersionHandler : public web::WebUIIOSMessageHandler {
17 public: 17 public:
18 VersionHandler(); 18 VersionHandler();
19 ~VersionHandler() override; 19 ~VersionHandler() override;
20 20
21 // content::WebUIMessageHandler implementation. 21 // content::WebUIMessageHandler implementation.
22 void RegisterMessages() override; 22 void RegisterMessages() override;
23 23
24 // Callback for the "requestVersionInfo" message. This asynchronously requests 24 // Callback for the "requestVersionInfo" message. This asynchronously requests
25 // the list of variations. 25 // the list of variations.
26 void HandleRequestVersionInfo(const base::ListValue* args); 26 void HandleRequestVersionInfo(const base::ListValue* args);
27 27
28 private: 28 private:
29 DISALLOW_COPY_AND_ASSIGN(VersionHandler); 29 DISALLOW_COPY_AND_ASSIGN(VersionHandler);
30 }; 30 };
31 31
32 #endif // IOS_CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_H_ 32 #endif // IOS_CHROME_BROWSER_UI_WEBUI_VERSION_HANDLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/webui/sync_internals/sync_internals_ui.cc ('k') | ios/chrome/browser/ui/webui/version_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698