| OLD | NEW | 
|---|
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #include "chrome/browser/notifications/notification.h" | 5 #include "chrome/browser/notifications/notification.h" | 
| 6 | 6 | 
| 7 Notification::Notification(const GURL& origin_url, | 7 Notification::Notification(const GURL& origin_url, | 
| 8                            const GURL& content_url, | 8                            const GURL& content_url, | 
| 9                            const string16& display_source, | 9                            const string16& display_source, | 
| 10                            const string16& replace_id, | 10                            const string16& replace_id, | 
| (...skipping 16 matching lines...) Expand all  Loading... | 
| 27 Notification::~Notification() {} | 27 Notification::~Notification() {} | 
| 28 | 28 | 
| 29 Notification& Notification::operator=(const Notification& notification) { | 29 Notification& Notification::operator=(const Notification& notification) { | 
| 30   origin_url_ = notification.origin_url(); | 30   origin_url_ = notification.origin_url(); | 
| 31   content_url_ = notification.content_url(); | 31   content_url_ = notification.content_url(); | 
| 32   display_source_ = notification.display_source(); | 32   display_source_ = notification.display_source(); | 
| 33   replace_id_ = notification.replace_id(); | 33   replace_id_ = notification.replace_id(); | 
| 34   delegate_ = notification.delegate(); | 34   delegate_ = notification.delegate(); | 
| 35   return *this; | 35   return *this; | 
| 36 } | 36 } | 
| 37 |  | 
| 38 bool Notification::IsSame(const Notification& other) const { |  | 
| 39   return delegate()->id() == other.delegate()->id(); |  | 
| 40 } |  | 
| OLD | NEW | 
|---|