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

Side by Side Diff: content/shell/renderer/shell_content_renderer_client.h

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: nit Created 4 years, 7 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 CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 12 matching lines...) Expand all
23 23
24 // ContentRendererClient implementation. 24 // ContentRendererClient implementation.
25 void RenderThreadStarted() override; 25 void RenderThreadStarted() override;
26 void RenderViewCreated(RenderView* render_view) override; 26 void RenderViewCreated(RenderView* render_view) override;
27 27
28 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we 28 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we
29 // need that outside of layout tests? 29 // need that outside of layout tests?
30 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 30 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
31 bool IsPluginAllowedToUseDevChannelAPIs() override; 31 bool IsPluginAllowedToUseDevChannelAPIs() override;
32 32
33 void DidInitializeWorkerContextOnWorkerThread(
34 v8::Local<v8::Context> context) override;
35
33 private: 36 private:
34 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_; 37 std::unique_ptr<web_cache::WebCacheImpl> web_cache_impl_;
35 }; 38 };
36 39
37 } // namespace content 40 } // namespace content
38 41
39 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ 42 #endif // CONTENT_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698