• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
6 #define CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
7 
8 #include "content/public/common/content_client.h"
9 
10 namespace content {
11 
12 // Embedder API for participating in renderer logic.
13 class CONTENT_EXPORT ContentUtilityClient {
14  public:
15   // Notifies us that the UtilityThread has been created.
UtilityThreadStarted()16   virtual void UtilityThreadStarted() {}
17 
18   // Allows the embedder to filter messages.
19   virtual bool OnMessageReceived(const IPC::Message& message);
20 };
21 
22 }  // namespace content
23 
24 #endif  // CONTENT_PUBLIC_UTILITY_CONTENT_UTILITY_CLIENT_H_
25