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

Side by Side Diff: chrome/renderer/notification_provider.cc

Issue 5139006: FBTF: Remove unneeded headers from base/ (part 10) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac, cros build Created 10 years, 1 month 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
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.h ('k') | chrome/service/service_utility_process_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/renderer/notification_provider.h" 5 #include "chrome/renderer/notification_provider.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/task.h"
9 #include "chrome/common/render_messages.h" 8 #include "chrome/common/render_messages.h"
10 #include "chrome/common/render_messages_params.h" 9 #include "chrome/common/render_messages_params.h"
11 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
12 #include "chrome/renderer/render_thread.h" 11 #include "chrome/renderer/render_thread.h"
13 #include "chrome/renderer/render_view.h" 12 #include "chrome/renderer/render_view.h"
14 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h" 13 #include "third_party/WebKit/WebKit/chromium/public/WebDocument.h"
15 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" 14 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
16 #include "third_party/WebKit/WebKit/chromium/public/WebNotificationPermissionCal lback.h" 15 #include "third_party/WebKit/WebKit/chromium/public/WebNotificationPermissionCal lback.h"
17 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h" 16 #include "third_party/WebKit/WebKit/chromium/public/WebURL.h"
18 #include "third_party/WebKit/WebKit/chromium/public/WebView.h" 17 #include "third_party/WebKit/WebKit/chromium/public/WebView.h"
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 void NotificationProvider::OnPermissionRequestComplete(int id) { 179 void NotificationProvider::OnPermissionRequestComplete(int id) {
181 WebNotificationPermissionCallback* callback = manager_.GetCallback(id); 180 WebNotificationPermissionCallback* callback = manager_.GetCallback(id);
182 DCHECK(callback); 181 DCHECK(callback);
183 callback->permissionRequestComplete(); 182 callback->permissionRequestComplete();
184 manager_.OnPermissionRequestComplete(id); 183 manager_.OnPermissionRequestComplete(id);
185 } 184 }
186 185
187 bool NotificationProvider::Send(IPC::Message* message) { 186 bool NotificationProvider::Send(IPC::Message* message) {
188 return RenderThread::current()->Send(message); 187 return RenderThread::current()->Send(message);
189 } 188 }
OLDNEW
« no previous file with comments | « chrome/plugin/webplugin_delegate_stub.h ('k') | chrome/service/service_utility_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698