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

Side by Side Diff: chrome/browser/chromeos/file_system_provider/observer.h

Issue 192573002: [fsp] Introduce file_system_provider::Service class for the FileSystemProvider API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified. Created 6 years, 9 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
(Empty)
1 // Copyright 2014 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_CHROMEOS_FILE_SYSTEM_PROVIDER_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OBSERVER_H_
7
8 #include <string>
9
10 namespace chromeos {
11 namespace file_system_provider {
12
13 class ProvidedFileSystem;
14
15 // Observes file_system_provider::Service for mounting and unmounting events.
16 class Observer {
17 public:
18 // Called when a provided |file_system| is registered successfully.
19 virtual void OnProvidedFileSystemRegistered(
20 const ProvidedFileSystem& file_system) = 0;
21
22 // Called when a provided |file_system| is unregistered successfully.
23 virtual void OnProvidedFileSystemUnregistered(
24 const ProvidedFileSystem& file_system) = 0;
25 };
26
27 } // namespace file_system_provider
28 } // namespace chromeos
29
30 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698