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

Side by Side Diff: content/browser/service_worker/service_worker_version.h

Issue 931173002: Implement EmbeddedWorkerContextClient.setCachedMetadata/clearCachedMetadata (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix clang failure Created 5 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 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 5 #ifndef CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 6 #define CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 void OnCrossOriginConnectEventFinished(int request_id, 364 void OnCrossOriginConnectEventFinished(int request_id,
365 bool accept_connection); 365 bool accept_connection);
366 void OnOpenWindow(int request_id, const GURL& url); 366 void OnOpenWindow(int request_id, const GURL& url);
367 void DidOpenWindow(int request_id, 367 void DidOpenWindow(int request_id,
368 int render_process_id, 368 int render_process_id,
369 int render_frame_id); 369 int render_frame_id);
370 void OnOpenWindowFinished(int request_id, 370 void OnOpenWindowFinished(int request_id,
371 int client_id, 371 int client_id,
372 const ServiceWorkerClientInfo& client_info); 372 const ServiceWorkerClientInfo& client_info);
373 373
374 void OnSetCachedMetadata(const GURL& url, const std::vector<char>& data);
375 void OnClearCachedMetadata(const GURL& url);
376
374 void OnPostMessageToDocument(int client_id, 377 void OnPostMessageToDocument(int client_id,
375 const base::string16& message, 378 const base::string16& message,
376 const std::vector<int>& sent_message_port_ids); 379 const std::vector<int>& sent_message_port_ids);
377 void OnFocusClient(int request_id, int client_id); 380 void OnFocusClient(int request_id, int client_id);
378 void OnSkipWaiting(int request_id); 381 void OnSkipWaiting(int request_id);
379 void OnClaimClients(int request_id); 382 void OnClaimClients(int request_id);
380 383
381 void OnFocusClientFinished(int request_id, 384 void OnFocusClientFinished(int request_id,
382 int client_id, 385 int client_id,
383 const ServiceWorkerClientInfo& client); 386 const ServiceWorkerClientInfo& client);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 scoped_ptr<net::HttpResponseInfo> main_script_http_info_; 439 scoped_ptr<net::HttpResponseInfo> main_script_http_info_;
437 440
438 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_; 441 base::WeakPtrFactory<ServiceWorkerVersion> weak_factory_;
439 442
440 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion); 443 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerVersion);
441 }; 444 };
442 445
443 } // namespace content 446 } // namespace content
444 447
445 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_ 448 #endif // CONTENT_BROWSER_SERVICE_WORKER_SERVICE_WORKER_VERSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698