summaryrefslogtreecommitdiffstats
path: root/components/web_restrictions/browser/mock_web_restrictions_client.h
blob: 45dd4eb16030a756e057ef6d2695b66a7e320a5a (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 2016 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 COMPONENTS_WEB_RESTRICTIONS_BROWSER_MOCK_WEB_RESTRICTIONS_CLIENT_H_
#define COMPONENTS_WEB_RESTRICTIONS_BROWSER_MOCK_WEB_RESTRICTIONS_CLIENT_H_

#include <jni.h>

#include "base/macros.h"

namespace web_restrictions {

// This is a wrapper for the Java MockWebRestrictionsClient.
class MockWebRestrictionsClient {
 public:
  MockWebRestrictionsClient();

  ~MockWebRestrictionsClient();

  static bool Register(JNIEnv* env);
};

}  // namespace web_restrictions
#endif  // COMPONENTS_WEB_RESTRICTIONS_BROWSER_MOCK_WEB_RESTRICTIONS_CLIENT_H_