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

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

Issue 10823217: Create/Delete windows profile shortcuts (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_
7
8 #include "base/file_path.h"
9 #include "ui/gfx/image/image.h"
10
11 class ProfileShortcutManager {
12 public:
13 static bool IsFeatureEnabled();
14 static ProfileShortcutManager* Create();
15
16 ProfileShortcutManager();
Ben Goodger (Google) 2012/08/14 22:43:19 This class looks a lot like an interface. As such
Halli 2012/08/15 18:13:53 I get the following error when I remove the constr
17 ~ProfileShortcutManager();
Ben Goodger (Google) 2012/08/14 22:43:19 Constructors and destructors should be listed befo
Halli 2012/08/15 18:13:53 Done.
18
19 virtual void CreateChromeDesktopShortcut(
20 const FilePath& profile_path, const string16& profile_name,
21 const gfx::Image& avatar_image) = 0;
22 virtual void DeleteChromeDesktopShortcut(const FilePath& profile_path) = 0;
23
24 private:
25 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManager);
26 };
27
28 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager_unittest.cc ('k') | chrome/browser/profiles/profile_shortcut_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698