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