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

Unified Diff: chrome/browser/aeropeek_manager.cc

Issue 6825055: Include base/win/scoped_comptr.h instead of base/scoped_comptr_win.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert bad indentation, rebase Created 9 years, 8 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
Index: chrome/browser/aeropeek_manager.cc
diff --git a/chrome/browser/aeropeek_manager.cc b/chrome/browser/aeropeek_manager.cc
index 12e2c9c037ce7733fa77d7bc76201bab9457c263..7c1d3d5c16b3b7d66d811069df41cf27009e75d2 100644
--- a/chrome/browser/aeropeek_manager.cc
+++ b/chrome/browser/aeropeek_manager.cc
@@ -10,8 +10,8 @@
#include "app/win/shell.h"
#include "base/command_line.h"
#include "base/memory/scoped_native_library.h"
-#include "base/scoped_comptr_win.h"
#include "base/synchronization/waitable_event.h"
+#include "base/win/scoped_comptr.h"
#include "base/win/scoped_gdi_object.h"
#include "base/win/scoped_hdc.h"
#include "base/win/windows_version.h"
@@ -263,7 +263,7 @@ class RegisterThumbnailTask : public Task {
// taskbar. But it seems to be OK to register it without checking the
// message.
// TODO(hbono): we need to check this registered message?
- ScopedComPtr<ITaskbarList3> taskbar;
+ base::win::ScopedComPtr<ITaskbarList3> taskbar;
if (FAILED(taskbar.CreateInstance(CLSID_TaskbarList, NULL,
CLSCTX_INPROC_SERVER)) ||
FAILED(taskbar->HrInit()) ||
@@ -731,7 +731,7 @@ void AeroPeekWindow::Activate() {
}
// Notify Windows to set the thumbnail focus to this window.
- ScopedComPtr<ITaskbarList3> taskbar;
+ base::win::ScopedComPtr<ITaskbarList3> taskbar;
HRESULT result = taskbar.CreateInstance(CLSID_TaskbarList, NULL,
CLSCTX_INPROC_SERVER);
if (FAILED(result)) {
@@ -785,7 +785,7 @@ void AeroPeekWindow::Destroy() {
return;
// Remove this window from the tab list of Windows.
- ScopedComPtr<ITaskbarList3> taskbar;
+ base::win::ScopedComPtr<ITaskbarList3> taskbar;
HRESULT result = taskbar.CreateInstance(CLSID_TaskbarList, NULL,
CLSCTX_INPROC_SERVER);
if (FAILED(result))

Powered by Google App Engine
This is Rietveld 408576698