summaryrefslogtreecommitdiffstats
path: root/chrome/common/gfx_resource_provider.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/gfx_resource_provider.cc')
-rw-r--r--chrome/common/gfx_resource_provider.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/chrome/common/gfx_resource_provider.cc b/chrome/common/gfx_resource_provider.cc
new file mode 100644
index 0000000..f508c28
--- /dev/null
+++ b/chrome/common/gfx_resource_provider.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2011 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.
+
+#include "chrome/common/gfx_resource_provider.h"
+
+#include "app/resource_bundle.h"
+#include "base/string_piece.h"
+
+namespace chrome {
+
+base::StringPiece GfxResourceProvider(int key) {
+ return ResourceBundle::GetSharedInstance().GetRawDataResource(key);
+}
+
+} // namespace chrome