| Index: blimp/client/core/settings/record_whole_document_observer.cc
|
| diff --git a/blimp/client/core/settings/record_whole_document_observer.cc b/blimp/client/core/settings/record_whole_document_observer.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f116b662ee527baaa0675e035550c9fe9c42061a
|
| --- /dev/null
|
| +++ b/blimp/client/core/settings/record_whole_document_observer.cc
|
| @@ -0,0 +1,21 @@
|
| +// 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.
|
| +
|
| +#include "blimp/client/core/settings/record_whole_document_observer.h"
|
| +
|
| +#include "blimp/client/core/settings/settings_feature.h"
|
| +
|
| +namespace blimp {
|
| +namespace client {
|
| +
|
| +RecordWholeDocumentObserver::RecordWholeDocumentObserver(
|
| + SettingsFeature* settings_feature)
|
| + : settings_feature_(settings_feature) {}
|
| +
|
| +void RecordWholeDocumentObserver::OnRecordWholeDocumentChanged(bool enable) {
|
| + settings_feature_->SetRecordWholeDocument(enable);
|
| +}
|
| +
|
| +} // namespace client
|
| +} // namespace blimp
|
|
|