| Index: base/win/resource_util.h
|
| diff --git a/base/resource_util.h b/base/win/resource_util.h
|
| similarity index 84%
|
| rename from base/resource_util.h
|
| rename to base/win/resource_util.h
|
| index 26d15cf58ab2beff8f47ce3c8ccc76637be1d1d1..e4b82e58557d2bf965ccb436248b79f07f58fbc0 100644
|
| --- a/base/resource_util.h
|
| +++ b/base/win/resource_util.h
|
| @@ -5,8 +5,8 @@
|
| // This file contains utility functions for accessing resources in external
|
| // files (DLLs) or embedded in the executable itself.
|
|
|
| -#ifndef BASE_RESOURCE_UTIL_H__
|
| -#define BASE_RESOURCE_UTIL_H__
|
| +#ifndef BASE_WIN_RESOURCE_UTIL_H__
|
| +#define BASE_WIN_RESOURCE_UTIL_H__
|
| #pragma once
|
|
|
| #include <windows.h>
|
| @@ -15,6 +15,7 @@
|
| #include "base/basictypes.h"
|
|
|
| namespace base {
|
| +namespace win {
|
|
|
| // Function for getting a data resource (BINDATA) from a dll. Some
|
| // resources are optional, especially in unit tests, so this returns false
|
| @@ -22,6 +23,7 @@ namespace base {
|
| bool BASE_EXPORT GetDataResourceFromModule(HMODULE module, int resource_id,
|
| void** data, size_t* length);
|
|
|
| +} // namespace win
|
| } // namespace base
|
|
|
| -#endif // BASE_RESOURCE_UTIL_H__
|
| +#endif // BASE_WIN_RESOURCE_UTIL_H__
|
|
|