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

Unified Diff: chrome/test/data/webui/async_gen.h

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/workers_ui.cc ('k') | chrome/test/data/webui/async_gen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/async_gen.h
===================================================================
--- chrome/test/data/webui/async_gen.h (revision 116051)
+++ chrome/test/data/webui/async_gen.h (working copy)
@@ -6,6 +6,7 @@
#pragma once
#include "chrome/browser/ui/webui/web_ui_browsertest.h"
+#include "content/public/browser/web_ui_message_handler.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace base {
@@ -19,7 +20,7 @@
virtual ~WebUIBrowserAsyncGenTest();
protected:
- class AsyncWebUIMessageHandler : public WebUIMessageHandler {
+ class AsyncWebUIMessageHandler : public content::WebUIMessageHandler {
public:
AsyncWebUIMessageHandler();
~AsyncWebUIMessageHandler();
@@ -38,7 +39,7 @@
private:
// Provide this object's handler.
- virtual WebUIMessageHandler* GetMockMessageHandler() OVERRIDE {
+ virtual content::WebUIMessageHandler* GetMockMessageHandler() OVERRIDE {
return &message_handler_;
}
« no previous file with comments | « chrome/browser/ui/webui/workers_ui.cc ('k') | chrome/test/data/webui/async_gen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698