Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: components/component_apps/component_apps_resource_util.h

Issue 1103943003: Add components/chrome_apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/component_apps/component_apps_resource_util.h
diff --git a/components/component_apps/component_apps_resource_util.h b/components/component_apps/component_apps_resource_util.h
new file mode 100644
index 0000000000000000000000000000000000000000..78858abf8fd96e53eca321b6e543e7c10d1e2e39
--- /dev/null
+++ b/components/component_apps/component_apps_resource_util.h
@@ -0,0 +1,23 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_COMPONENT_APPS_COMPONENT_APPS_RESOURCE_UTIL_H_
+#define COMPONENTS_COMPONENT_APPS_COMPONENT_APPS_RESOURCE_UTIL_H_
+
+#include <cstddef>
+
+#include "components/component_apps/component_apps_export.h"
+
+struct GritResourceMap;
+
+namespace component_apps {
+
+// Get the list of resources. |size| is populated with the number of resources
+// in the returned array.
+COMPONENT_APPS_EXPORT const GritResourceMap* GetComponentAppsResources(
+ size_t* size);
+
+} // namespace component_apps
+
+#endif // COMPONENTS_COMPONENT_APPS_COMPONENT_APPS_RESOURCE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698