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

Side by Side Diff: third_party/WebKit/public/web/WebEmbeddedWorker.h

Issue 1710903002: Revert of service worker: use 200 OK for update requests even in the no update case (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 BLINK_EXPORT static WebEmbeddedWorker* create( 51 BLINK_EXPORT static WebEmbeddedWorker* create(
52 WebServiceWorkerContextClient*, 52 WebServiceWorkerContextClient*,
53 WebWorkerContentSettingsClientProxy*); 53 WebWorkerContentSettingsClientProxy*);
54 54
55 virtual ~WebEmbeddedWorker() { } 55 virtual ~WebEmbeddedWorker() { }
56 56
57 // Starts and terminates WorkerThread and WorkerGlobalScope. 57 // Starts and terminates WorkerThread and WorkerGlobalScope.
58 virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) = 0; 58 virtual void startWorkerContext(const WebEmbeddedWorkerStartData&) = 0;
59 virtual void terminateWorkerContext() = 0; 59 virtual void terminateWorkerContext() = 0;
60 60
61 // Resumes starting a worker startup that was paused via
62 // WebEmbeddedWorkerStartData.pauseAfterDownloadMode.
63 virtual void resumeAfterDownload() = 0;
64
65 // Inspector related methods. 61 // Inspector related methods.
66 virtual void attachDevTools(const WebString& hostId, int sessionId) = 0; 62 virtual void attachDevTools(const WebString& hostId, int sessionId) = 0;
67 virtual void reattachDevTools(const WebString& hostId, int sessionId, const WebString& savedState) = 0; 63 virtual void reattachDevTools(const WebString& hostId, int sessionId, const WebString& savedState) = 0;
68 virtual void detachDevTools() = 0; 64 virtual void detachDevTools() = 0;
69 virtual void dispatchDevToolsMessage(int sessionId, const WebString&) = 0; 65 virtual void dispatchDevToolsMessage(int sessionId, const WebString&) = 0;
70 }; 66 };
71 67
72 } // namespace blink 68 } // namespace blink
73 69
74 #endif // WebEmbeddedWorker_h 70 #endif // WebEmbeddedWorker_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698