Remove ViewMsg_UpdateRect_ACK
[chromium-blink-merge.git] / ui / message_center / dummy_message_center.cc
blob7a77495c810954408fac1ca2a069c86896fb46ec
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.
5 #include "ui/message_center/message_center.h"
6 #include "ui/message_center/message_center_switches.h"
7 #include "ui/message_center/message_center_util.h"
9 // This file contains dummy implementation of MessageCenter and used to compile
10 // and link with Android and iOS implementations of Chrome which do not have
11 // notification systems yet. This is to avoid spreading compile-time flags
12 // everywhere in the code.
13 #if !defined(OS_ANDROID) && !defined(OS_IOS)
14 #error This file should only be used in Android or iOS builds.
15 #endif
17 namespace message_center {
19 // static
20 void MessageCenter::Initialize() {
23 // static
24 MessageCenter* MessageCenter::Get() {
25 return NULL;
28 // static
29 void MessageCenter::Shutdown() {
32 MessageCenter::MessageCenter() {
35 MessageCenter::~MessageCenter() {
38 } // namespace message_center