1 // Copyright (c) 2013 Intel Corporation. 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.
5 #include "xwalk/application/browser/event_observer.h"
7 #include "xwalk/application/browser/application_event_manager.h"
10 namespace application {
12 EventObserver::EventObserver(ApplicationEventManager* event_manager)
13 : event_manager_(event_manager) {
16 EventObserver::~EventObserver() {
17 event_manager_->DetachObserver(this);
20 } // namespace application