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

Side by Side Diff: ios/chrome/browser/browser_state/browser_state_info_cache_observer.h

Issue 1411573009: [iOS] Remove BrowserState names in BrowserStateInfoCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename method Created 5 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
« no previous file with comments | « ios/chrome/browser/browser_state/browser_state_info_cache.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_INFO_CACHE_OBSERVER_H_ 5 #ifndef IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_INFO_CACHE_OBSERVER_H_
6 #define IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_INFO_CACHE_OBSERVER_H_ 6 #define IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_INFO_CACHE_OBSERVER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/strings/string16.h" 9 #include "base/strings/string16.h"
10 10
11 namespace base { 11 namespace base {
12 class FilePath; 12 class FilePath;
13 } 13 }
14 14
15 // Observes changes in BrowserStateInfoCache. 15 // Observes changes in BrowserStateInfoCache.
16 class BrowserStateInfoCacheObserver { 16 class BrowserStateInfoCacheObserver {
17 public: 17 public:
18 BrowserStateInfoCacheObserver() {} 18 BrowserStateInfoCacheObserver() {}
19 virtual ~BrowserStateInfoCacheObserver() {} 19 virtual ~BrowserStateInfoCacheObserver() {}
20 20
21 // Called when a BrowserState has been added. 21 // Called when a BrowserState has been added.
22 virtual void OnBrowserStateAdded(const base::FilePath& path) = 0; 22 virtual void OnBrowserStateAdded(const base::FilePath& path) = 0;
23 23
24 // Called when a BrowserState has been removed. 24 // Called when a BrowserState has been removed.
25 virtual void OnBrowserStateWasRemoved(const base::FilePath& path, 25 virtual void OnBrowserStateWasRemoved(const base::FilePath& path) = 0;
26 const base::string16& name) = 0;
27 26
28 private: 27 private:
29 DISALLOW_COPY_AND_ASSIGN(BrowserStateInfoCacheObserver); 28 DISALLOW_COPY_AND_ASSIGN(BrowserStateInfoCacheObserver);
30 }; 29 };
31 30
32 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_INFO_CACHE_OBSERVER_H_ 31 #endif // IOS_CHROME_BROWSER_BROWSER_STATE_BROWSER_STATE_INFO_CACHE_OBSERVER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/browser_state/browser_state_info_cache.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698