Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: chrome/test/test_notification_tracker.cc

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/test_notification_tracker.h ('k') | chrome/test/testing_browser_process.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/test/test_notification_tracker.h" 5 #include "chrome/test/test_notification_tracker.h"
6 6
7 #include "chrome/common/notification_service.h" 7 #include "content/common/notification_service.h"
8 8
9 TestNotificationTracker::Event::Event() 9 TestNotificationTracker::Event::Event()
10 : type(NotificationType::ALL), 10 : type(NotificationType::ALL),
11 source(NotificationService::AllSources()), 11 source(NotificationService::AllSources()),
12 details(NotificationService::NoDetails()) { 12 details(NotificationService::NoDetails()) {
13 } 13 }
14 TestNotificationTracker::Event::Event(NotificationType t, 14 TestNotificationTracker::Event::Event(NotificationType t,
15 NotificationSource s, 15 NotificationSource s,
16 NotificationDetails d) 16 NotificationDetails d)
17 : type(t), 17 : type(t),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 events_[2].type == type3; 67 events_[2].type == type3;
68 Reset(); 68 Reset();
69 return success; 69 return success;
70 } 70 }
71 71
72 void TestNotificationTracker::Observe(NotificationType type, 72 void TestNotificationTracker::Observe(NotificationType type,
73 const NotificationSource& source, 73 const NotificationSource& source,
74 const NotificationDetails& details) { 74 const NotificationDetails& details) {
75 events_.push_back(Event(type, source, details)); 75 events_.push_back(Event(type, source, details));
76 } 76 }
OLDNEW
« no previous file with comments | « chrome/test/test_notification_tracker.h ('k') | chrome/test/testing_browser_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698