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

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

Issue 2931953002: [Payments] Rename openWindowForClients and openWindowForPaymentHandler (Closed)
Patch Set: address nit 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
« no previous file with comments | « no previous file | content/renderer/service_worker/service_worker_context_client.cc » ('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 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 OpenWindowForClients( 105 void OpenNewTab(
106 const blink::WebURL&, 106 const blink::WebURL&,
107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; 107 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override;
108 void OpenWindowForPaymentHandler( 108 void OpenNewPopup(
109 const blink::WebURL&, 109 const blink::WebURL&,
110 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override; 110 std::unique_ptr<blink::WebServiceWorkerClientCallbacks>) override;
111 void SetCachedMetadata(const blink::WebURL&, 111 void SetCachedMetadata(const blink::WebURL&,
112 const char* data, 112 const char* data,
113 size_t size) override; 113 size_t size) override;
114 void ClearCachedMetadata(const blink::WebURL&) override; 114 void ClearCachedMetadata(const blink::WebURL&) override;
115 void WorkerReadyForInspection() override; 115 void WorkerReadyForInspection() override;
116 116
117 // Called on the main thread. 117 // Called on the main thread.
118 void WorkerContextFailedToStart() override; 118 void WorkerContextFailedToStart() override;
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // Initialized on the worker thread in workerContextStarted and 366 // Initialized on the worker thread in workerContextStarted and
367 // destructed on the worker thread in willDestroyWorkerContext. 367 // destructed on the worker thread in willDestroyWorkerContext.
368 std::unique_ptr<WorkerContextData> context_; 368 std::unique_ptr<WorkerContextData> context_;
369 369
370 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 370 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
371 }; 371 };
372 372
373 } // namespace content 373 } // namespace content
374 374
375 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 375 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/service_worker/service_worker_context_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698