OLD | NEW |
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_EXTENSIONS_APP_NOTIFICATION_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/time.h" | 11 #include "base/time.h" |
13 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
14 #include "base/values.h" | 13 #include "base/values.h" |
15 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
16 | 15 |
17 // This class is used to represent a notification for an installed app, to be | 16 // This class is used to represent a notification for an installed app, to be |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 78 |
80 // A list of AppNotification's. | 79 // A list of AppNotification's. |
81 typedef std::vector<linked_ptr<AppNotification> > AppNotificationList; | 80 typedef std::vector<linked_ptr<AppNotification> > AppNotificationList; |
82 | 81 |
83 // A way to copy an AppNotificationList, which uses AppNotification::Copy on | 82 // A way to copy an AppNotificationList, which uses AppNotification::Copy on |
84 // each element. | 83 // each element. |
85 // Caller owns the returned instance. | 84 // Caller owns the returned instance. |
86 AppNotificationList* CopyAppNotificationList(const AppNotificationList& source); | 85 AppNotificationList* CopyAppNotificationList(const AppNotificationList& source); |
87 | 86 |
88 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_H_ | 87 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_H_ |
OLD | NEW |