| Index: runtime/bin/resources.h
|
| diff --git a/runtime/bin/resources.h b/runtime/bin/resources.h
|
| index 0f3f7c369941bd0b1343d86c2b0847212e3bd47e..6ee066ad810949e688b1da936130c5d62d83501e 100644
|
| --- a/runtime/bin/resources.h
|
| +++ b/runtime/bin/resources.h
|
| @@ -30,6 +30,14 @@ class Resources {
|
| return kNoSuchInstance;
|
| }
|
|
|
| + static intptr_t get_resource_count() {
|
| + return builtin_resources_count_;
|
| + }
|
| +
|
| + static const char* get_resource_path(intptr_t i) {
|
| + return get_resource(i)->path_;
|
| + }
|
| +
|
| private:
|
| struct resource_map_entry {
|
| const char* path_;
|
| @@ -46,9 +54,6 @@ class Resources {
|
| return &builtin_resources_[i];
|
| }
|
|
|
| - static intptr_t get_resource_count() {
|
| - return builtin_resources_count_; }
|
| -
|
| DISALLOW_ALLOCATION();
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(Resources);
|
| };
|
|
|