| Index: blimp/client/core/settings/record_whole_document_observer.h
|
| diff --git a/blimp/client/core/settings/record_whole_document_observer.h b/blimp/client/core/settings/record_whole_document_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a2ebeb1f2fb559f306ee8545e040c916151a163d
|
| --- /dev/null
|
| +++ b/blimp/client/core/settings/record_whole_document_observer.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef BLIMP_CLIENT_CORE_SETTINGS_RECORD_WHOLE_DOCUMENT_OBSERVER_H_
|
| +#define BLIMP_CLIENT_CORE_SETTINGS_RECORD_WHOLE_DOCUMENT_OBSERVER_H_
|
| +
|
| +#include "blimp/client/core/settings/settings.h"
|
| +#include "blimp/client/core/settings/settings_observer.h"
|
| +
|
| +namespace blimp {
|
| +namespace client {
|
| +
|
| +class SettingsFeature;
|
| +
|
| +class RecordWholeDocumentObserver : public SettingsObserver {
|
| + public:
|
| + explicit RecordWholeDocumentObserver(SettingsFeature* settings_feature);
|
| + void OnRecordWholeDocumentChanged(bool enable) override;
|
| +
|
| + private:
|
| + SettingsFeature* settings_feature_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(RecordWholeDocumentObserver);
|
| +};
|
| +
|
| +} // namespace client
|
| +} // namespace blimp
|
| +
|
| +#endif // BLIMP_CLIENT_CORE_SETTINGS_RECORD_WHOLE_DOCUMENT_OBSERVER_H_
|
|
|