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

Unified Diff: content/utility/content_utility_client.h

Issue 6995095: Move UtilityProcessHost to content and move the message sending/dispatching to the clients. This... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: content/utility/content_utility_client.h
===================================================================
--- content/utility/content_utility_client.h (revision 0)
+++ content/utility/content_utility_client.h (revision 0)
@@ -0,0 +1,25 @@
+// 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 CONTENT_UTILITY_CONTENT_UTILITY_CLIENT_H_
+#define CONTENT_UTILITY_CONTENT_UTILITY_CLIENT_H_
+#pragma once
+
+#include "content/common/content_client.h"
+
+namespace content {
+
+// Embedder API for participating in renderer logic.
+class ContentUtilityClient {
+ public:
+ // Notifies us that the UtilityThread has been created.
+ virtual void UtilityThreadStarted();
+
+ // Allows the embedder to filter messages.
+ virtual bool OnMessageReceived(const IPC::Message& message);
+};
+
+} // namespace content
+
+#endif // CONTENT_UTILITY_CONTENT_UTILITY_CLIENT_H_
Property changes on: content\utility\content_utility_client.h
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698