Home | History | Annotate | Download | only in notifications
      1 // Copyright (c) 2012 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/notifications/notification_test_util.h"
      6 
      7 MockNotificationDelegate::MockNotificationDelegate(const std::string& id)
      8     : id_(id) {
      9 }
     10 
     11 MockNotificationDelegate::~MockNotificationDelegate() {}
     12 
     13 std::string MockNotificationDelegate::id() const {
     14   return id_;
     15 }
     16 
     17 content::RenderViewHost* MockNotificationDelegate::GetRenderViewHost() const {
     18   return NULL;
     19 }
     20