url_utils.h 619 B

1234567891011121314151617181920212223
  1. // Copyright 2017 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. #ifndef BASE_TEST_ANDROID_URL_UTILS_H_
  5. #define BASE_TEST_ANDROID_URL_UTILS_H_
  6. #include <jni.h>
  7. #include "base/base_export.h"
  8. #include "base/files/file_path.h"
  9. namespace base {
  10. namespace android {
  11. // Returns the root of the test data directory. This function will call into
  12. // Java class UrlUtils through JNI bridge.
  13. BASE_EXPORT FilePath GetIsolatedTestRoot();
  14. } // namespace android
  15. } // namespace base
  16. #endif // BASE_TEST_ANDROID_URL_UTILS_H_