OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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 COMPONENTS_WEB_RESTRICTIONS_BROWSER_MOCK_WEB_RESTRICTIONS_CLIENT_H_ |
| 6 #define COMPONENTS_WEB_RESTRICTIONS_BROWSER_MOCK_WEB_RESTRICTIONS_CLIENT_H_ |
| 7 |
| 8 #include <jni.h> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 namespace web_restrictions { |
| 13 |
| 14 // This is a wrapper for the Java MockWebRestrictionsClient. |
| 15 class MockWebRestrictionsClient { |
| 16 public: |
| 17 MockWebRestrictionsClient(); |
| 18 |
| 19 ~MockWebRestrictionsClient(); |
| 20 |
| 21 static bool Register(JNIEnv* env); |
| 22 }; |
| 23 |
| 24 } // namespace web_restrictions |
| 25 #endif // COMPONENTS_WEB_RESTRICTIONS_BROWSER_MOCK_WEB_RESTRICTIONS_CLIENT_H_ |
OLD | NEW |