summaryrefslogtreecommitdiffstats
path: root/content/utility/content_utility_client.h
blob: 6a4b3ea2ffbb2890a6dceb2149ab5735b5d5d5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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() = 0;

  // Allows the embedder to filter messages.
  virtual bool OnMessageReceived(const IPC::Message& message) = 0;
};

}  // namespace content

#endif  // CONTENT_UTILITY_CONTENT_UTILITY_CLIENT_H_