| Index: chrome/renderer/extensions/platform_app_dispatcher.h
|
| diff --git a/chrome/renderer/extensions/platform_app_dispatcher.h b/chrome/renderer/extensions/platform_app_dispatcher.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..01710f7eafd6ad08c7a0f821c03e426cc7927c1d
|
| --- /dev/null
|
| +++ b/chrome/renderer/extensions/platform_app_dispatcher.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_
|
| +#define CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_
|
| +#pragma once
|
| +
|
| +#include "content/public/renderer/render_process_observer.h"
|
| +
|
| +// Dispatches platform-app control messages sent to the renderer.
|
| +class PlatformAppDispatcher : public content::RenderProcessObserver {
|
| + public:
|
| + PlatformAppDispatcher();
|
| + ~PlatformAppDispatcher();
|
| +
|
| + private:
|
| + virtual bool OnControlMessageReceived(const IPC::Message& message);
|
| + virtual void OnIsPlatformApp();
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(PlatformAppDispatcher);
|
| +};
|
| +
|
| +#endif // CHROME_RENDERER_EXTENSIONS_PLATFORM_APP_DISPATCHER_H_
|
|
|