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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2166523003: Add ref count to service workers for extension API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync@tott Created 4 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 void RecordRapporURL(const std::string& metric, const GURL& url) override; 171 void RecordRapporURL(const std::string& metric, const GURL& url) override;
172 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient( 172 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient(
173 content::RenderFrame* render_frame) override; 173 content::RenderFrame* render_frame) override;
174 void AddImageContextMenuProperties( 174 void AddImageContextMenuProperties(
175 const blink::WebURLResponse& response, 175 const blink::WebURLResponse& response,
176 std::map<std::string, std::string>* properties) override; 176 std::map<std::string, std::string>* properties) override;
177 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; 177 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override;
178 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; 178 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override;
179 void DidInitializeServiceWorkerContextOnWorkerThread( 179 void DidInitializeServiceWorkerContextOnWorkerThread(
180 v8::Local<v8::Context> context, 180 v8::Local<v8::Context> context,
181 int embedded_worker_id, 181 int64_t service_worker_version_id,
182 const GURL& url) override; 182 const GURL& url) override;
183 void WillDestroyServiceWorkerContextOnWorkerThread( 183 void WillDestroyServiceWorkerContextOnWorkerThread(
184 v8::Local<v8::Context> context, 184 v8::Local<v8::Context> context,
185 int embedded_worker_id, 185 int64_t service_worker_version_id,
186 const GURL& url) override; 186 const GURL& url) override;
187 bool ShouldEnforceWebRTCRoutingPreferences() override; 187 bool ShouldEnforceWebRTCRoutingPreferences() override;
188 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; 188 GURL OverrideFlashEmbedWithHTML(const GURL& url) override;
189 189
190 #if defined(ENABLE_SPELLCHECK) 190 #if defined(ENABLE_SPELLCHECK)
191 // Sets a new |spellcheck|. Used for testing only. 191 // Sets a new |spellcheck|. Used for testing only.
192 // Takes ownership of |spellcheck|. 192 // Takes ownership of |spellcheck|.
193 void SetSpellcheck(SpellCheck* spellcheck); 193 void SetSpellcheck(SpellCheck* spellcheck);
194 #endif 194 #endif
195 195
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 #endif 255 #endif
256 256
257 #if defined(OS_CHROMEOS) 257 #if defined(OS_CHROMEOS)
258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; 258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_;
259 #endif 259 #endif
260 260
261 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); 261 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient);
262 }; 262 };
263 263
264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/service_worker_apitest.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698