| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/protector/base_setting_change.h" | 5 #include "chrome/browser/protector/base_setting_change.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace protector { | 9 namespace protector { |
| 10 | 10 |
| 11 BaseSettingChange::BaseSettingChange() | 11 BaseSettingChange::BaseSettingChange() |
| 12 : protector_(NULL) { | 12 : protector_(NULL) { |
| 13 } | 13 } |
| 14 | 14 |
| 15 BaseSettingChange::~BaseSettingChange() { | 15 BaseSettingChange::~BaseSettingChange() { |
| 16 } | 16 } |
| 17 | 17 |
| 18 bool BaseSettingChange::Init(Protector* protector) { | 18 bool BaseSettingChange::Init(Protector* protector) { |
| 19 DCHECK(protector); | 19 DCHECK(protector); |
| 20 protector_ = protector; | 20 protector_ = protector; |
| 21 return true; | 21 return true; |
| 22 } | 22 } |
| 23 | 23 |
| 24 void BaseSettingChange::Apply() { | 24 void BaseSettingChange::Apply() { |
| 25 } | 25 } |
| 26 | 26 |
| 27 void BaseSettingChange::Discard() { | 27 void BaseSettingChange::Discard() { |
| 28 } | 28 } |
| 29 | 29 |
| 30 void BaseSettingChange::Timeout() { |
| 31 } |
| 32 |
| 30 void BaseSettingChange::OnBeforeRemoved() { | 33 void BaseSettingChange::OnBeforeRemoved() { |
| 31 } | 34 } |
| 32 | 35 |
| 33 } // namespace protector | 36 } // namespace protector |
| OLD | NEW |