Don't preload rarely seen large images
[chromium-blink-merge.git] / components / chrome_apps / chrome_apps_resource_util.h
blob591929ce5c32f787e6e0cc8cb63d7ff08e859d6f
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_CHROME_APPS_CHROME_APPS_RESOURCE_UTIL_H_
6 #define COMPONENTS_CHROME_APPS_CHROME_APPS_RESOURCE_UTIL_H_
8 #include <cstddef>
10 #include "components/chrome_apps/chrome_apps_export.h"
12 struct GritResourceMap;
14 namespace chrome_apps {
16 // Get the list of resources. |size| is populated with the number of resources
17 // in the returned array.
18 CHROME_APPS_EXPORT const GritResourceMap* GetChromeAppsResources(
19 size_t* size);
21 } // namespace chrome_apps
23 #endif // COMPONENTS_CHROME_APPS_CHROME_APPS_RESOURCE_UTIL_H_