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

Side by Side Diff: chrome/browser/notifications/notification_test_util.h

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 2012 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "chrome/browser/notifications/notification_object_proxy.h" 10 #include "chrome/browser/notifications/notification_object_proxy.h"
12 #include "chrome/browser/notifications/balloon.h" 11 #include "chrome/browser/notifications/balloon.h"
13 #include "ui/gfx/size.h" 12 #include "ui/gfx/size.h"
14 13
15 // NotificationDelegate which does nothing, useful for testing when 14 // NotificationDelegate which does nothing, useful for testing when
16 // the notification events are not important. 15 // the notification events are not important.
17 class MockNotificationDelegate : public NotificationDelegate { 16 class MockNotificationDelegate : public NotificationDelegate {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 virtual void Close(bool by_user) OVERRIDE; 90 virtual void Close(bool by_user) OVERRIDE;
92 virtual gfx::Size GetSize() const OVERRIDE; 91 virtual gfx::Size GetSize() const OVERRIDE;
93 virtual BalloonHost* GetHost() const OVERRIDE; 92 virtual BalloonHost* GetHost() const OVERRIDE;
94 93
95 private: 94 private:
96 // Non-owned pointer. 95 // Non-owned pointer.
97 Balloon* balloon_; 96 Balloon* balloon_;
98 }; 97 };
99 98
100 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_ 99 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_prefs_manager.h ('k') | chrome/browser/notifications/notification_ui_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698