Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / sync_file_system / file_status_observer.h
blob352a5ce795035219a0f78d0b8114b79758c53c32
1 // Copyright (c) 2013 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.
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_STATUS_OBSERVER_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_STATUS_OBSERVER_H_
8 #include "base/basictypes.h"
9 #include "chrome/browser/sync_file_system/sync_action.h"
10 #include "chrome/browser/sync_file_system/sync_direction.h"
11 #include "chrome/browser/sync_file_system/sync_file_status.h"
12 #include "chrome/browser/sync_file_system/sync_file_type.h"
14 namespace storage {
15 class FileSystemURL;
18 namespace sync_file_system {
20 class FileStatusObserver {
21 public:
22 FileStatusObserver() {}
23 virtual ~FileStatusObserver() {}
25 virtual void OnFileStatusChanged(const storage::FileSystemURL& url,
26 SyncFileType file_type,
27 SyncFileStatus sync_status,
28 SyncAction action_taken,
29 SyncDirection direction) = 0;
31 private:
32 DISALLOW_COPY_AND_ASSIGN(FileStatusObserver);
35 } // namespace sync_file_system
37 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_STATUS_OBSERVER_H_