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

Side by Side Diff: chrome/browser/notifications/balloon_collection_base.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 // Handles the visible notification (or balloons). 5 // Handles the visible notification (or balloons).
6 6
7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_BASE_H_ 7 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_BASE_H_
8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_BASE_H_ 8 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_BASE_H_
9 #pragma once
10 9
11 #include <deque> 10 #include <deque>
12 #include <string> 11 #include <string>
13 12
14 #include "base/basictypes.h" 13 #include "base/basictypes.h"
15 14
16 class Balloon; 15 class Balloon;
17 class GURL; 16 class GURL;
18 class Notification; 17 class Notification;
19 18
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 int count() const { return static_cast<int>(balloons_.size()); } 59 int count() const { return static_cast<int>(balloons_.size()); }
61 60
62 private: 61 private:
63 // Queue of active balloons. Pointers are owned by this class. 62 // Queue of active balloons. Pointers are owned by this class.
64 Balloons balloons_; 63 Balloons balloons_;
65 64
66 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionBase); 65 DISALLOW_COPY_AND_ASSIGN(BalloonCollectionBase);
67 }; 66 };
68 67
69 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_BASE_H_ 68 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_COLLECTION_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/balloon_collection.h ('k') | chrome/browser/notifications/balloon_collection_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698