Add 'did_proceed' and 'repeat_visit' to ClientMalwareReportRequest to track CTR.
[chromium-blink-merge.git] / components / resource_provider / file_utils.h
blob7ddf94728bdcb75287f240b2119d20a73053fd41
1 // Copyright 2015 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.
5 #ifndef COMPONENTS_RESOURCE_PROVIDER_FILE_UTILS_H_
6 #define COMPONENTS_RESOURCE_PROVIDER_FILE_UTILS_H_
8 #include <string>
10 class GURL;
12 namespace base {
13 class FilePath;
16 namespace resource_provider {
18 // Returns the path to the resources for |application_url|, or an empty
19 // path if |application_url| is not valid.
20 base::FilePath GetPathForApplicationUrl(const GURL& application_url);
22 // Returns the path to the specified resource. |app_path| was previously
23 // obtained by way of GetPathForApplicationUrl().
24 base::FilePath GetPathForResourceNamed(const base::FilePath& app_path,
25 const std::string& resource_path);
27 } // namespace resource_provider
29 #endif // COMPONENTS_RESOURCE_PROVIDER_FILE_UTILS_H_