Chromium Code Reviews| Index: chrome/browser/profiles/profile_shortcut_manager.h |
| =================================================================== |
| --- chrome/browser/profiles/profile_shortcut_manager.h (revision 0) |
| +++ chrome/browser/profiles/profile_shortcut_manager.h (revision 0) |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2012 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 CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_ |
| +#define CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_ |
| + |
| +#include <map> |
|
sail
2012/08/13 22:09:36
not needed?
Halli
2012/08/14 18:25:57
Moved to profile_shortcut_manager_win.cc
On 2012/0
|
| + |
| +#include "base/file_path.h" |
| +#include "ui/gfx/image/image.h" |
| + |
| +class ProfileShortcutManager { |
| + public: |
| + ProfileShortcutManager(); |
| + static bool IsFeatureEnabled(); |
| + static ProfileShortcutManager* Create(); |
| + virtual void CreateChromeDesktopShortcut(const FilePath& profile_path, |
| + string16 profile_name, |
|
sail
2012/08/13 22:09:36
const string16&
Halli
2012/08/14 18:25:57
Done.
|
| + const gfx::Image& avatar_image); |
|
sail
2012/08/13 22:09:36
this should be abstract (=0)
same below
The non a
Halli
2012/08/14 18:25:57
Done.
|
| + virtual void DeleteChromeDesktopShortcut(const FilePath& profile_path); |
| + virtual ~ProfileShortcutManager(); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManager); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_H_ |