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

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

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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
8 7
9 #include <vector> 8 #include <vector>
10 9
11 #include "base/string16.h" 10 #include "base/string16.h"
12 #include "chrome/browser/profiles/profile_info_cache_observer.h" 11 #include "chrome/browser/profiles/profile_info_cache_observer.h"
13 12
14 // This class observes the ProfileInfoCache, and makes corresponding changes 13 // This class observes the ProfileInfoCache, and makes corresponding changes
15 // to shortcuts on the user's desktop in Windows systems. 14 // to shortcuts on the user's desktop in Windows systems.
16 class ProfileShortcutManagerWin : public ProfileInfoCacheObserver { 15 class ProfileShortcutManagerWin : public ProfileInfoCacheObserver {
17 public: 16 public:
(...skipping 20 matching lines...) Expand all
38 // Takes a vector of profile names (for example: "Sparky") and generates a 37 // Takes a vector of profile names (for example: "Sparky") and generates a
39 // vector of shortcut link names (for example: "Chromium (Sparky).lnk"). 38 // vector of shortcut link names (for example: "Chromium (Sparky).lnk").
40 static std::vector<string16> GenerateShortcutsFromProfiles( 39 static std::vector<string16> GenerateShortcutsFromProfiles(
41 const std::vector<string16>& profile_names); 40 const std::vector<string16>& profile_names);
42 41
43 private: 42 private:
44 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin); 43 DISALLOW_COPY_AND_ASSIGN(ProfileShortcutManagerWin);
45 }; 44 };
46 45
47 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_ 46 #endif // CHROME_BROWSER_PROFILES_PROFILE_SHORTCUT_MANAGER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_manager.h ('k') | chrome/browser/search_engines/search_engine_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698