summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications/notification_test_util.cc
blob: 242719664f13b090b2cdcb60b45f50de9f269e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/notifications/notification_test_util.h"

MockNotificationDelegate::MockNotificationDelegate(const std::string& id)
    : id_(id) {
}

MockNotificationDelegate::~MockNotificationDelegate() {}

std::string MockNotificationDelegate::id() const {
  return id_;
}

content::RenderViewHost* MockNotificationDelegate::GetRenderViewHost() const {
  return NULL;
}