Only sync parent directory once after a leveldb file rename.
[chromium-blink-merge.git] / webkit / fileapi / syncable / local_origin_change_observer.h
blob84ed65df624704b5e7b57a5197a6238d96eb6a71
1 // Copyright (c) 2012 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 WEBKIT_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_
6 #define WEBKIT_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_
8 #include <set>
10 #include "base/basictypes.h"
11 #include "googleurl/src/gurl.h"
13 namespace sync_file_system {
15 class LocalOriginChangeObserver {
16 public:
17 LocalOriginChangeObserver() {}
18 ~LocalOriginChangeObserver() {}
20 virtual void OnChangesAvailableInOrigins(const std::set<GURL>& origins) = 0;
22 private:
23 DISALLOW_COPY_AND_ASSIGN(LocalOriginChangeObserver);
26 } // namespace sync_file_system
28 #endif // WEBKIT_FILEAPI_SYNCABLE_LOCAL_ORIGIN_CHANGE_OBSERVER_H_