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

Unified Diff: chrome/browser/chrome_worker_message_filter.h

Issue 8514004: Remove includes of worker_messages.h from chrome code, since that's an internal detail of content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
Index: chrome/browser/chrome_worker_message_filter.h
===================================================================
--- chrome/browser/chrome_worker_message_filter.h (revision 109446)
+++ chrome/browser/chrome_worker_message_filter.h (working copy)
@@ -1,48 +0,0 @@
-// 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_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_
-#define CHROME_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_
-#pragma once
-
-#include "base/string16.h"
-#include "ipc/ipc_channel_proxy.h"
-
-class CookieSettings;
-class GURL;
-class WorkerProcessHost;
-
-// This class filters out incoming Chrome-specific IPC messages for the renderer
-// process on the IPC thread.
-class ChromeWorkerMessageFilter : public IPC::ChannelProxy::MessageFilter,
- public IPC::Message::Sender {
- public:
- explicit ChromeWorkerMessageFilter(WorkerProcessHost* process);
-
- // BrowserMessageFilter methods:
- virtual bool OnMessageReceived(const IPC::Message& message);
-
- // IPC::Message::Sender methods:
- virtual bool Send(IPC::Message* message);
-
- private:
- virtual ~ChromeWorkerMessageFilter();
-
- void OnAllowDatabase(int worker_route_id,
- const GURL& url,
- const string16& name,
- const string16& display_name,
- unsigned long estimated_size,
- bool* result);
- void OnAllowFileSystem(int worker_route_id,
- const GURL& url,
- bool* result);
-
- WorkerProcessHost* process_;
- scoped_refptr<CookieSettings> cookie_settings_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeWorkerMessageFilter);
-};
-
-#endif // CHROME_BROWSER_CHROME_WORKER_MESSAGE_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698