OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2013 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 #include "chrome/browser/metrics/variations/eula_accepted_notifier.h" | |
6 | |
7 #include "base/logging.h" | |
8 | |
9 EulaAcceptedNotifier::EulaAcceptedNotifier() : observer_(NULL) { | |
10 } | |
11 | |
12 EulaAcceptedNotifier::~EulaAcceptedNotifier() { | |
13 } | |
14 | |
15 void EulaAcceptedNotifier::Init(Observer* observer) { | |
16 DCHECK(!observer_ && observer); | |
17 observer_ = observer; | |
18 } | |
19 | |
20 void EulaAcceptedNotifier::NotifyObserver() { | |
21 observer_->OnEulaAccepted(); | |
22 } | |
23 | |
24 #if !defined(OS_CHROMEOS) | |
25 // static | |
26 EulaAcceptedNotifier* EulaAcceptedNotifier::Create() { | |
27 return NULL; | |
28 } | |
29 #endif | |
30 | |
SteveT
2013/04/05 22:16:41
nit: Could you check to see if there is an extra l
Alexei Svitkine (slow)
2013/04/08 14:48:41
Done.
| |
OLD | NEW |