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

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: correct file changes 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 OpenWindow(const blink::WebURL& redirect_url,
106 const blink::WebURL&, 106 const blink::WebURL& url_to_open,
107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; 107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>
108 callbacks) override;
108 void SetCachedMetadata(const blink::WebURL&, 109 void SetCachedMetadata(const blink::WebURL&,
109 const char* data, 110 const char* data,
110 size_t size) override; 111 size_t size) override;
111 void ClearCachedMetadata(const blink::WebURL&) override; 112 void ClearCachedMetadata(const blink::WebURL&) override;
112 void WorkerReadyForInspection() override; 113 void WorkerReadyForInspection() override;
113 114
114 // Called on the main thread. 115 // Called on the main thread.
115 void WorkerContextFailedToStart() override; 116 void WorkerContextFailedToStart() override;
116 void WorkerScriptLoaded() override; 117 void WorkerScriptLoaded() override;
117 bool HasAssociatedRegistration() override; 118 bool HasAssociatedRegistration() override;
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 // Initialized on the worker thread in workerContextStarted and 364 // Initialized on the worker thread in workerContextStarted and
364 // destructed on the worker thread in willDestroyWorkerContext. 365 // destructed on the worker thread in willDestroyWorkerContext.
365 std::unique_ptr<WorkerContextData> context_; 366 std::unique_ptr<WorkerContextData> context_;
366 367
367 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 368 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
368 }; 369 };
369 370
370 } // namespace content 371 } // namespace content
371 372
372 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 373 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698