Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / ios / chrome / browser / web_resource / web_resource_util.h
blob6b14203d9df8ad7f6a110d53bb2270598e89807f
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 IOS_CHROME_BROWSER_WEB_RESOURCE_WEB_RESOURCE_UTIL_H_
6 #define IOS_CHROME_BROWSER_WEB_RESOURCE_WEB_RESOURCE_UTIL_H_
8 #include "components/web_resource/web_resource_service.h"
10 namespace web_resource {
12 // Returns a ParseJSONCallback that parses JSON on a background thread.
13 // Generates an error if the data is not a dictionary.
14 WebResourceService::ParseJSONCallback GetIOSChromeParseJSONCallback();
16 } // namespace web_resource
18 #endif // IOS_CHROME_BROWSER_WEB_RESOURCE_WEB_RESOURCE_UTIL_H_