// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_OBSERVER_H_ #define EXTENSIONS_BROWSER_EXTENSION_PREFS_OBSERVER_H_ #include "base/time/time.h" #include "extensions/common/extension_id.h" namespace extensions { class ExtensionPrefs; class ExtensionPrefsObserver { … }; // An ExtensionPrefsObserver that's part of the GetEarlyExtensionPrefsObservers // mechanism, where the ExtensionPrefsObserver needs to connect to an // ExtensionPrefs, but the ExtensionPrefs doesn't exist yet. This // OnExtensionPrefsAvailable method lets the connection happen during or // shortly after the ExtensionPrefs constructor. class EarlyExtensionPrefsObserver { … }; } // namespace extensions #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_OBSERVER_H_