Index: base/win/scoped_co_mem.h |
diff --git a/app/win/scoped_co_mem.h b/base/win/scoped_co_mem.h |
similarity index 73% |
rename from app/win/scoped_co_mem.h |
rename to base/win/scoped_co_mem.h |
index a6017fa97c388206a2e8438f4aa55a7754278ebe..52c14b0a366e68c76c948998fe6693c24d9bd8dc 100644 |
--- a/app/win/scoped_co_mem.h |
+++ b/base/win/scoped_co_mem.h |
@@ -1,21 +1,21 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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. |
-#ifndef APP_WIN_SCOPED_CO_MEM_H_ |
-#define APP_WIN_SCOPED_CO_MEM_H_ |
+#ifndef BASE_WIN_SCOPED_CO_MEM_H_ |
brettw
2011/06/23 16:13:04
It looks like this isn't used outside of chrome/,
tfarina
2011/06/23 16:50:12
Done.
|
+#define BASE_WIN_SCOPED_CO_MEM_H_ |
#pragma once |
#include <objbase.h> |
#include "base/basictypes.h" |
-namespace app { |
+namespace base { |
namespace win { |
// Simple scoped memory releaser class for COM allocated memory. |
// Example: |
-// app::win::ScopedCoMem<ITEMIDLIST> file_item; |
+// base::win::ScopedCoMem<ITEMIDLIST> file_item; |
// SHGetSomeInfo(&file_item, ...); |
// ... |
// return; <-- memory released |
@@ -44,6 +44,6 @@ class ScopedCoMem { |
}; |
} // namespace win |
-} // namespace app |
+} // namespace base |
-#endif // APP_WIN_SCOPED_CO_MEM_H_ |
+#endif // BASE_WIN_SCOPED_CO_MEM_H_ |