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

Unified Diff: base/win/pe_image.cc

Issue 3836005: Move pe_image and registry from base to base/win and use the namespace. It re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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/pe_image.h ('k') | base/win/pe_image_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/pe_image.cc
===================================================================
--- base/win/pe_image.cc (revision 62848)
+++ base/win/pe_image.cc (working copy)
@@ -1,12 +1,15 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 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.
// This file implements PEImage, a generic class to manipulate PE files.
// This file was adapted from GreenBorder's Code.
-#include "base/pe_image.h"
+#include "base/win/pe_image.h"
+namespace base {
+namespace win {
+
#if defined(_WIN64) && !defined(NACL_WIN64)
// TODO(rvargas): Bug 27218. Make sure this is ok.
#error This code is not tested on x64. Please make sure all the base unit tests\
@@ -562,3 +565,6 @@
return in_memory;
}
+
+} // namespace win
+} // namespace base
« no previous file with comments | « base/win/pe_image.h ('k') | base/win/pe_image_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698