1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24

android_webview / browser / aw_asset_reader.h [blame]

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ANDROID_WEBVIEW_BROWSER_AW_ASSET_READER_H_
#define ANDROID_WEBVIEW_BROWSER_AW_ASSET_READER_H_

#include <string>

#include "base/files/memory_mapped_file.h"

namespace android_webview {

class AwAssetReader {
 public:
  AwAssetReader() = default;

  int OpenApkAsset(const std::string& file_path,
                   base::MemoryMappedFile::Region* region);
};

}  // namespace android_webview

#endif  // ANDROID_WEBVIEW_BROWSER_AW_ASSET_READER_H_