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

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

Issue 7541001: Move more files from chrome/test to chrome/test/base, part #3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
OLDNEW
1 // Copyright (c) 2011 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/base/test_notification_tracker.h"
6 6
7 #include "content/common/notification_service.h" 7 #include "content/common/notification_service.h"
8 8
9 TestNotificationTracker::Event::Event() 9 TestNotificationTracker::Event::Event()
10 : type(content::NOTIFICATION_ALL), 10 : type(content::NOTIFICATION_ALL),
11 source(NotificationService::AllSources()), 11 source(NotificationService::AllSources()),
12 details(NotificationService::NoDetails()) { 12 details(NotificationService::NoDetails()) {
13 } 13 }
14 TestNotificationTracker::Event::Event(int t, 14 TestNotificationTracker::Event::Event(int t,
15 NotificationSource s, 15 NotificationSource s,
(...skipping 51 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(int type, 72 void TestNotificationTracker::Observe(int 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/base/test_notification_tracker.h ('k') | chrome/test/base/test_url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698