blob: cb3018686b762d6347195c56d293a8716e6b7954 [file] [log] [blame]
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "build/build_config.h"
#include "ui/message_center/message_center.h"
// This file contains dummy implementation of MessageCenter and used to compile
// and link with Android implementations of Chrome which do not have
// notification systems yet. This is to avoid spreading compile-time flags
// everywhere in the code.
#if !(BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA))
#error This file should only be used in Android and Fuchsia.
#endif
namespace message_center {
// static
void MessageCenter::Initialize() {
}
// static
MessageCenter* MessageCenter::Get() {
return NULL;
}
// static
void MessageCenter::Shutdown() {
}
MessageCenter::MessageCenter() {
}
MessageCenter::~MessageCenter() {
}
} // namespace message_center