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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 2864023003: Fix the current per-frame URLLoaderFactory code path. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/renderer/render_frame_impl.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 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_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance); 755 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance);
756 756
757 // Notification that the given plugin is focused or unfocused. 757 // Notification that the given plugin is focused or unfocused.
758 void PepperFocusChanged(PepperPluginInstanceImpl* instance, bool focused); 758 void PepperFocusChanged(PepperPluginInstanceImpl* instance, bool focused);
759 759
760 void PepperStartsPlayback(PepperPluginInstanceImpl* instance); 760 void PepperStartsPlayback(PepperPluginInstanceImpl* instance);
761 void PepperStopsPlayback(PepperPluginInstanceImpl* instance); 761 void PepperStopsPlayback(PepperPluginInstanceImpl* instance);
762 void OnSetPepperVolume(int32_t pp_instance, double volume); 762 void OnSetPepperVolume(int32_t pp_instance, double volume);
763 #endif // ENABLE_PLUGINS 763 #endif // ENABLE_PLUGINS
764 764
765 mojom::URLLoaderFactory* GetURLLoaderFactory() {
766 return url_loader_factory_.get();
767 }
768
769 protected: 765 protected:
770 explicit RenderFrameImpl(const CreateParams& params); 766 explicit RenderFrameImpl(const CreateParams& params);
771 767
772 private: 768 private:
773 friend class RenderFrameImplTest; 769 friend class RenderFrameImplTest;
774 friend class RenderFrameObserver; 770 friend class RenderFrameObserver;
775 friend class RenderAccessibilityImplTest; 771 friend class RenderAccessibilityImplTest;
776 friend class TestRenderFrame; 772 friend class TestRenderFrame;
777 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem); 773 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuDisplayNoneTest, SelectItem);
778 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 774 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1478 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; 1474 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_;
1479 1475
1480 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 1476 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
1481 1477
1482 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 1478 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
1483 }; 1479 };
1484 1480
1485 } // namespace content 1481 } // namespace content
1486 1482
1487 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 1483 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/child/web_url_loader_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698