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

Unified Diff: base/win/resource_util.h

Issue 7698005: Move base/resource_util.* into base/win/ since it's windows specific. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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
« no previous file with comments | « base/resource_util.cc ('k') | base/win/resource_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__
« no previous file with comments | « base/resource_util.cc ('k') | base/win/resource_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698