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

Unified Diff: chrome/browser/shell_integration_win.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/shell_integration_win.cc
diff --git a/chrome/browser/shell_integration_win.cc b/chrome/browser/shell_integration_win.cc
index 0b9c32e2f22eaa628d19b6a9b7a30e20868c0b23..72f9ad1546a9c941ffea96b5e8ad58b90ecec7c7 100644
--- a/chrome/browser/shell_integration_win.cc
+++ b/chrome/browser/shell_integration_win.cc
@@ -1,4 +1,4 @@
-// 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.
@@ -13,11 +13,11 @@
#include "base/file_util.h"
#include "base/message_loop.h"
#include "base/path_service.h"
-#include "base/scoped_comptr_win.h"
#include "base/string_util.h"
#include "base/task.h"
#include "base/utf_string_conversions.h"
#include "base/win/registry.h"
+#include "base/win/scoped_comptr.h"
#include "base/win/windows_version.h"
#include "chrome/browser/web_applications/web_app.h"
#include "chrome/common/chrome_constants.h"
@@ -154,7 +154,7 @@ void MigrateChromiumShortcutsTask::MigrateWin7ShortcutsInPath(
for (FilePath shortcut = shortcuts_enum.Next(); !shortcut.empty();
shortcut = shortcuts_enum.Next()) {
// Load the shortcut.
- ScopedComPtr<IShellLink> shell_link;
+ base::win::ScopedComPtr<IShellLink> shell_link;
if (FAILED(shell_link.CreateInstance(CLSID_ShellLink,
NULL,
CLSCTX_INPROC_SERVER))) {
@@ -162,7 +162,7 @@ void MigrateChromiumShortcutsTask::MigrateWin7ShortcutsInPath(
return;
}
- ScopedComPtr<IPersistFile> persist_file;
+ base::win::ScopedComPtr<IPersistFile> persist_file;
if (FAILED(persist_file.QueryFrom(shell_link)) ||
FAILED(persist_file->Load(shortcut.value().c_str(), STGM_READ))) {
NOTREACHED();
@@ -248,7 +248,7 @@ bool MigrateChromiumShortcutsTask::GetShortcutAppId(
app_id->clear();
- ScopedComPtr<IPropertyStore> property_store;
+ base::win::ScopedComPtr<IPropertyStore> property_store;
if (FAILED(property_store.QueryFrom(shell_link)))
return false;
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | chrome/browser/ui/views/shell_dialogs_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698