OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 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_SYNC_SYNCABLE_DIRECTORY_EVENT_H_ |
| 6 #define CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_EVENT_H_ |
| 7 |
| 8 namespace syncable { |
| 9 |
| 10 // This kind of Event is emitted when the state of a Directory object |
| 11 // changes somehow, such as the directory being opened or closed. |
| 12 // Don't confuse it with a DirectoryChangeEvent, which is what happens |
| 13 // when one or more of the Entry contents of a Directory have been updated. |
| 14 enum DirectoryEvent { |
| 15 DIRECTORY_CLOSED, |
| 16 DIRECTORY_DESTROYED, |
| 17 }; |
| 18 |
| 19 } // namespace syncable |
| 20 |
| 21 #endif // CHROME_BROWSER_SYNC_SYNCABLE_DIRECTORY_EVENT_H_ |
OLD | NEW |