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

Side by Side Diff: chrome/browser/notifications/notification_object_proxy.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_OBJECT_PROXY_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OBJECT_PROXY_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OBJECT_PROXY_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OBJECT_PROXY_H_
7 #pragma once
8 7
9 #include <string> 8 #include <string>
10 9
11 #include "chrome/browser/notifications/notification_delegate.h" 10 #include "chrome/browser/notifications/notification_delegate.h"
12 11
13 // A NotificationObjectProxy stands in for the JavaScript Notification object 12 // A NotificationObjectProxy stands in for the JavaScript Notification object
14 // which corresponds to a notification toast on the desktop. It can be signaled 13 // which corresponds to a notification toast on the desktop. It can be signaled
15 // when various events occur regarding the desktop notification, and the 14 // when various events occur regarding the desktop notification, and the
16 // attached JS listeners will be invoked in the renderer or worker process. 15 // attached JS listeners will be invoked in the renderer or worker process.
17 class NotificationObjectProxy 16 class NotificationObjectProxy
(...skipping 18 matching lines...) Expand all
36 35
37 private: 36 private:
38 // Callback information to find the JS Notification object where it lives. 37 // Callback information to find the JS Notification object where it lives.
39 int process_id_; 38 int process_id_;
40 int route_id_; 39 int route_id_;
41 int notification_id_; 40 int notification_id_;
42 bool worker_; 41 bool worker_;
43 }; 42 };
44 43
45 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OBJECT_PROXY_H_ 44 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_OBJECT_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_delegate.h ('k') | chrome/browser/notifications/notification_options_menu_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698