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

Side by Side Diff: content/renderer/active_notification_tracker.cc

Issue 6677096: Move a bunch of files from chrome\common to content\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/common/desktop_notifications/active_notification_tracker.h" 5 #include "content/renderer/active_notification_tracker.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/scoped_ptr.h" 8 #include "base/scoped_ptr.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotification.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotification.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPermis sionCallback.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPermis sionCallback.h"
11 11
12 using WebKit::WebNotification; 12 using WebKit::WebNotification;
13 using WebKit::WebNotificationPermissionCallback; 13 using WebKit::WebNotificationPermissionCallback;
14 14
15 ActiveNotificationTracker::ActiveNotificationTracker() {} 15 ActiveNotificationTracker::ActiveNotificationTracker() {}
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 75 }
76 76
77 int ActiveNotificationTracker::RegisterPermissionRequest( 77 int ActiveNotificationTracker::RegisterPermissionRequest(
78 WebNotificationPermissionCallback* callback) { 78 WebNotificationPermissionCallback* callback) {
79 return callback_table_.Add(callback); 79 return callback_table_.Add(callback);
80 } 80 }
81 81
82 void ActiveNotificationTracker::OnPermissionRequestComplete(int id) { 82 void ActiveNotificationTracker::OnPermissionRequestComplete(int id) {
83 callback_table_.Remove(id); 83 callback_table_.Remove(id);
84 } 84 }
OLDNEW
« no previous file with comments | « content/renderer/active_notification_tracker.h ('k') | content/renderer/active_notification_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698