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

Side by Side Diff: chrome/browser/profiles/profile_shortcut_manager_win.h

Issue 8702019: Use callback_forward.h instead of callback.h where possible. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ 6 #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback_forward.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "chrome/browser/profiles/profile_info_cache_observer.h" 14 #include "chrome/browser/profiles/profile_info_cache_observer.h"
15 15
16 // This class observes the ProfileInfoCache, and makes corresponding changes 16 // This class observes the ProfileInfoCache, and makes corresponding changes
17 // to shortcuts on the user's desktop in Windows systems. 17 // to shortcuts on the user's desktop in Windows systems.
18 class ProfileShortcutManagerWin : public ProfileInfoCacheObserver { 18 class ProfileShortcutManagerWin : public ProfileInfoCacheObserver {
19 public: 19 public:
20 ProfileShortcutManagerWin(); 20 ProfileShortcutManagerWin();
21 virtual ~ProfileShortcutManagerWin(); 21 virtual ~ProfileShortcutManagerWin();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Updates the arguments to a Chrome desktop shortcut for a profile. Must be 53 // Updates the arguments to a Chrome desktop shortcut for a profile. Must be
54 // called on the FILE thread. 54 // called on the FILE thread.
55 static void UpdateChromeDesktopShortcutForProfile( 55 static void UpdateChromeDesktopShortcutForProfile(
56 const string16& shortcut, 56 const string16& shortcut,
57 const string16& arguments); 57 const string16& arguments);
58 58
59 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin); 59 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin);
60 }; 60 };
61 61
62 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ 62 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/browser/safe_browsing/safe_browsing_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698