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

Side by Side Diff: content/renderer/service_worker/service_worker_context_client.h

Issue 2893823004: [Payments] Implement openWindow for service worker based payment handler (Closed)
Patch Set: rename ipc messages Created 3 years, 6 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 const IPC::Message& message); 95 const IPC::Message& message);
96 96
97 // WebServiceWorkerContextClient overrides. 97 // WebServiceWorkerContextClient overrides.
98 blink::WebURL Scope() const override; 98 blink::WebURL Scope() const override;
99 void GetClient( 99 void GetClient(
100 const blink::WebString&, 100 const blink::WebString&,
101 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; 101 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override;
102 void GetClients( 102 void GetClients(
103 const blink::WebServiceWorkerClientQueryOptions&, 103 const blink::WebServiceWorkerClientQueryOptions&,
104 std::unique_ptr<blink::WebServiceWorkerClientsCallbacks>) override; 104 std::unique_ptr<blink::WebServiceWorkerClientsCallbacks>) override;
105 void OpenWindow( 105 void OpenWindowForClients(
106 const blink::WebURL&,
107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override;
108 void OpenWindowForPaymentHandler(
106 const blink::WebURL&, 109 const blink::WebURL&,
107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; 110 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override;
108 void SetCachedMetadata(const blink::WebURL&, 111 void SetCachedMetadata(const blink::WebURL&,
109 const char* data, 112 const char* data,
110 size_t size) override; 113 size_t size) override;
111 void ClearCachedMetadata(const blink::WebURL&) override; 114 void ClearCachedMetadata(const blink::WebURL&) override;
112 void WorkerReadyForInspection() override; 115 void WorkerReadyForInspection() override;
113 116
114 // Called on the main thread. 117 // Called on the main thread.
115 void WorkerContextFailedToStart() override; 118 void WorkerContextFailedToStart() override;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 // Initialized on the worker thread in workerContextStarted and 366 // Initialized on the worker thread in workerContextStarted and
364 // destructed on the worker thread in willDestroyWorkerContext. 367 // destructed on the worker thread in willDestroyWorkerContext.
365 std::unique_ptr<WorkerContextData> context_; 368 std::unique_ptr<WorkerContextData> context_;
366 369
367 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 370 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
368 }; 371 };
369 372
370 } // namespace content 373 } // namespace content
371 374
372 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 375 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698