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

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

Issue 8502033: Add Windows desktop shortcut for multiple profiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase Created 9 years, 1 month 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_
7 #pragma once
8
9 // This class provides an Observer interface to watch for changes to the
10 // ProfileInfoCache.
11 class ProfileInfoCacheObserver {
12 public:
13 virtual ~ProfileInfoCacheObserver() {}
14
15 virtual void OnProfileAdded(
16 const string16& profile_name,
17 const string16& profile_base_dir) = 0;
18 virtual void OnProfileRemoved(
19 const string16& profile_name) = 0;
20 virtual void OnProfileNameChanged(
21 const string16& old_profile_name,
22 const string16& new_profile_name) = 0;
23
24 protected:
25 ProfileInfoCacheObserver() {}
26
27 DISALLOW_COPY_AND_ASSIGN(ProfileInfoCacheObserver);
28 };
29
30 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.cc ('k') | chrome/browser/profiles/profile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698