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

Side by Side Diff: third_party/WebKit/public/web/modules/serviceworker/WebServiceWorkerContextProxy.h

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 years, 10 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual ~WebServiceWorkerContextProxy() {} 55 virtual ~WebServiceWorkerContextProxy() {}
56 56
57 virtual void setRegistration( 57 virtual void setRegistration(
58 std::unique_ptr<WebServiceWorkerRegistration::Handle>) = 0; 58 std::unique_ptr<WebServiceWorkerRegistration::Handle>) = 0;
59 59
60 virtual void dispatchActivateEvent(int eventID) = 0; 60 virtual void dispatchActivateEvent(int eventID) = 0;
61 virtual void dispatchExtendableMessageEvent( 61 virtual void dispatchExtendableMessageEvent(
62 int eventID, 62 int eventID,
63 const WebString& message, 63 const WebString& message,
64 const WebSecurityOrigin& sourceOrigin, 64 const WebSecurityOrigin& sourceOrigin,
65 const WebMessagePortChannelArray&, 65 WebMessagePortChannelArray,
66 const WebServiceWorkerClientInfo&) = 0; 66 const WebServiceWorkerClientInfo&) = 0;
67 virtual void dispatchExtendableMessageEvent( 67 virtual void dispatchExtendableMessageEvent(
68 int eventID, 68 int eventID,
69 const WebString& message, 69 const WebString& message,
70 const WebSecurityOrigin& sourceOrigin, 70 const WebSecurityOrigin& sourceOrigin,
71 const WebMessagePortChannelArray&, 71 WebMessagePortChannelArray,
72 std::unique_ptr<WebServiceWorker::Handle>) = 0; 72 std::unique_ptr<WebServiceWorker::Handle>) = 0;
73 virtual void dispatchInstallEvent(int eventID) = 0; 73 virtual void dispatchInstallEvent(int eventID) = 0;
74 virtual void dispatchFetchEvent(int fetchEventID, 74 virtual void dispatchFetchEvent(int fetchEventID,
75 const WebServiceWorkerRequest& webRequest, 75 const WebServiceWorkerRequest& webRequest,
76 bool navigationPreloadSent) = 0; 76 bool navigationPreloadSent) = 0;
77 virtual void dispatchForeignFetchEvent( 77 virtual void dispatchForeignFetchEvent(
78 int fetchEventID, 78 int fetchEventID,
79 const WebServiceWorkerRequest& webRequest) = 0; 79 const WebServiceWorkerRequest& webRequest) = 0;
80 virtual void dispatchNotificationClickEvent(int eventID, 80 virtual void dispatchNotificationClickEvent(int eventID,
81 const WebString& notificationID, 81 const WebString& notificationID,
(...skipping 23 matching lines...) Expand all
105 std::unique_ptr<WebURLResponse>, 105 std::unique_ptr<WebURLResponse>,
106 std::unique_ptr<WebDataConsumerHandle>) = 0; 106 std::unique_ptr<WebDataConsumerHandle>) = 0;
107 virtual void onNavigationPreloadError( 107 virtual void onNavigationPreloadError(
108 int fetchEventID, 108 int fetchEventID,
109 std::unique_ptr<WebServiceWorkerError>) = 0; 109 std::unique_ptr<WebServiceWorkerError>) = 0;
110 }; 110 };
111 111
112 } // namespace blink 112 } // namespace blink
113 113
114 #endif // WebServiceWorkerContextProxy_h 114 #endif // WebServiceWorkerContextProxy_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698