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

Unified Diff: base/win/resource_util.cc

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/win/resource_util.h ('k') | ui/base/resource/resource_bundle_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/resource_util.cc
diff --git a/base/resource_util.cc b/base/win/resource_util.cc
similarity index 90%
rename from base/resource_util.cc
rename to base/win/resource_util.cc
index 7c7a519257d13a6b49b012b74570a89da9503d6d..de9f5833924f48cb6270dafb559472278179e6d7 100644
--- a/base/resource_util.cc
+++ b/base/win/resource_util.cc
@@ -3,9 +3,10 @@
// found in the LICENSE file.
#include "base/logging.h"
-#include "base/resource_util.h"
+#include "base/win/resource_util.h"
namespace base {
+namespace win {
bool GetDataResourceFromModule(HMODULE module, int resource_id,
void** data, size_t* length) {
if (!module)
@@ -34,4 +35,5 @@ bool GetDataResourceFromModule(HMODULE module, int resource_id,
*length = static_cast<size_t>(data_size);
return true;
}
-} // namespace
+} // namespace win
+} // namespace base
« no previous file with comments | « base/win/resource_util.h ('k') | ui/base/resource/resource_bundle_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698