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

Side by Side Diff: components/guest_view/renderer/guest_view_container_dispatcher.h

Issue 2546183004: Remove unused linked_ptr inclusion (Closed)
Patch Set: Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_DISPATCHER_H_ 5 #ifndef COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_DISPATCHER_H_
6 #define COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_DISPATCHER_H_ 6 #define COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_DISPATCHER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/linked_ptr.h"
10 #include "content/public/renderer/render_thread_observer.h" 9 #include "content/public/renderer/render_thread_observer.h"
11 #include "ipc/ipc_message.h" 10 #include "ipc/ipc_message.h"
12 11
13 namespace guest_view { 12 namespace guest_view {
14 13
15 // Dispatcher used to route messages to GuestViewContainer. 14 // Dispatcher used to route messages to GuestViewContainer.
16 class GuestViewContainerDispatcher : public content::RenderThreadObserver { 15 class GuestViewContainerDispatcher : public content::RenderThreadObserver {
17 public: 16 public:
18 GuestViewContainerDispatcher(); 17 GuestViewContainerDispatcher();
19 ~GuestViewContainerDispatcher() override; 18 ~GuestViewContainerDispatcher() override;
20 19
21 protected: 20 protected:
22 // Returns true if |message| is handled for a GuestViewContainer. 21 // Returns true if |message| is handled for a GuestViewContainer.
23 virtual bool HandlesMessage(const IPC::Message& message); 22 virtual bool HandlesMessage(const IPC::Message& message);
24 23
25 private: 24 private:
26 // content::RenderThreadObserver implementation. 25 // content::RenderThreadObserver implementation.
27 bool OnControlMessageReceived(const IPC::Message& message) override; 26 bool OnControlMessageReceived(const IPC::Message& message) override;
28 27
29 DISALLOW_COPY_AND_ASSIGN(GuestViewContainerDispatcher); 28 DISALLOW_COPY_AND_ASSIGN(GuestViewContainerDispatcher);
30 }; 29 };
31 30
32 } // namespace guest_view 31 } // namespace guest_view
33 32
34 #endif // COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_DISPATCHER_H_ 33 #endif // COMPONENTS_GUEST_VIEW_RENDERER_GUEST_VIEW_CONTAINER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « chrome/test/chromedriver/session_commands_unittest.cc ('k') | components/login/screens/screen_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698