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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBSERV ER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBSERV ER_H_
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBSERV ER_H_ 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBSERV ER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "chrome/browser/chromeos/file_system_provider/watcher.h" 13 #include "chrome/browser/chromeos/file_system_provider/watcher.h"
14 #include "storage/browser/fileapi/watcher_manager.h" 14 #include "storage/browser/fileapi/watcher_manager.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 namespace file_system_provider { 17 namespace file_system_provider {
18 18
19 class ProvidedFileSystemInfo; 19 class ProvidedFileSystemInfo;
20 class RequestManager;
21 20
22 // Observer class to be notified about changes happened to the provided file 21 // Observer class to be notified about changes happened to the provided file
23 // system, including watched entries. 22 // system, including watched entries.
24 class ProvidedFileSystemObserver { 23 class ProvidedFileSystemObserver {
25 public: 24 public:
26 struct Change; 25 struct Change;
27 26
28 // Lust of changes. 27 // Lust of changes.
29 typedef std::vector<Change> Changes; 28 typedef std::vector<Change> Changes;
30 29
(...skipping 24 matching lines...) Expand all
55 // Called after the list of watchers is changed. 54 // Called after the list of watchers is changed.
56 virtual void OnWatcherListChanged( 55 virtual void OnWatcherListChanged(
57 const ProvidedFileSystemInfo& file_system_info, 56 const ProvidedFileSystemInfo& file_system_info,
58 const Watchers& watchers) = 0; 57 const Watchers& watchers) = 0;
59 }; 58 };
60 59
61 } // namespace file_system_provider 60 } // namespace file_system_provider
62 } // namespace chromeos 61 } // namespace chromeos
63 62
64 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBS ERVER_H_ 63 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_OBS ERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698