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"
18 namespace sync_file_system
{
20 class FileStatusObserver
{
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;
32 DISALLOW_COPY_AND_ASSIGN(FileStatusObserver
);
35 } // namespace sync_file_system
37 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_FILE_STATUS_OBSERVER_H_