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

Side by Side Diff: Source/testing/runner/NotificationPresenter.cpp

Issue 67313005: Remove duplicated headers from the testing/ directory (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 17 matching lines...) Expand all
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "NotificationPresenter.h" 31 #include "NotificationPresenter.h"
32 32
33 #include "public/platform/Platform.h" 33 #include "public/platform/Platform.h"
34 #include "public/platform/WebString.h" 34 #include "public/platform/WebString.h"
35 #include "public/platform/WebURL.h" 35 #include "public/platform/WebURL.h"
36 #include "public/testing/WebTestDelegate.h" 36 #include "public/testing/WebTestDelegate.h"
37 #include "public/web/WebKit.h" 37 #include "public/web/WebKit.h"
38 #include "public/web/WebNotification.h"
39 #include "public/web/WebNotificationPermissionCallback.h" 38 #include "public/web/WebNotificationPermissionCallback.h"
40 #include "public/web/WebSecurityOrigin.h" 39 #include "public/web/WebSecurityOrigin.h"
41 #include <url/gurl.h> 40 #include <url/gurl.h>
42 41
43 using namespace blink; 42 using namespace blink;
44 using namespace std; 43 using namespace std;
45 44
46 namespace WebTestRunner { 45 namespace WebTestRunner {
47 46
48 namespace { 47 namespace {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 158
160 void NotificationPresenter::requestPermission( 159 void NotificationPresenter::requestPermission(
161 const WebSecurityOrigin& origin, 160 const WebSecurityOrigin& origin,
162 WebNotificationPermissionCallback* callback) 161 WebNotificationPermissionCallback* callback)
163 { 162 {
164 m_delegate->printMessage("DESKTOP NOTIFICATION PERMISSION REQUESTED: " + str ing(origin.toString().utf8()) + "\n"); 163 m_delegate->printMessage("DESKTOP NOTIFICATION PERMISSION REQUESTED: " + str ing(origin.toString().utf8()) + "\n");
165 callback->permissionRequestComplete(); 164 callback->permissionRequestComplete();
166 } 165 }
167 166
168 } 167 }
OLDNEW
« no previous file with comments | « Source/testing/runner/MockWebRTCPeerConnectionHandler.cpp ('k') | Source/testing/runner/TestRunner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698