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

Side by Side Diff: chrome/browser/ui/webui/media_router/media_router_dialog_controller_impl.h

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 3 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 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 CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_DIALOG_CONTROLLER_IMPL _H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_DIALOG_CONTROLLER_IMPL _H_
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_DIALOG_CONTROLLER_IMPL _H_ 6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_DIALOG_CONTROLLER_IMPL _H_
7 7
8 #include "base/gtest_prod_util.h"
8 #include "base/macros.h" 9 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/media/router/media_router_dialog_controller.h" 11 #include "chrome/browser/media/router/media_router_dialog_controller.h"
11 #include "content/public/browser/web_contents_observer.h" 12 #include "content/public/browser/web_contents_observer.h"
12 #include "content/public/browser/web_contents_user_data.h" 13 #include "content/public/browser/web_contents_user_data.h"
13 14
14 FORWARD_DECLARE_TEST(MediaRouterActionUnitTest, IconPressedState); 15 FORWARD_DECLARE_TEST(MediaRouterActionUnitTest, IconPressedState);
15 16
16 class MediaRouterAction; 17 class MediaRouterAction;
17 18
18 namespace media_router { 19 namespace media_router {
19 20
20 namespace {
21 class MediaRouterDialogDelegate;
22 }
23
24 // A desktop implementation of MediaRouterDialogController. 21 // A desktop implementation of MediaRouterDialogController.
25 // This class is not thread safe and must be called on the UI thread. 22 // This class is not thread safe and must be called on the UI thread.
26 class MediaRouterDialogControllerImpl : 23 class MediaRouterDialogControllerImpl :
27 public content::WebContentsUserData<MediaRouterDialogControllerImpl>, 24 public content::WebContentsUserData<MediaRouterDialogControllerImpl>,
28 public MediaRouterDialogController { 25 public MediaRouterDialogController {
29 public: 26 public:
30 ~MediaRouterDialogControllerImpl() override; 27 ~MediaRouterDialogControllerImpl() override;
31 28
32 static MediaRouterDialogControllerImpl* GetOrCreateForWebContents( 29 static MediaRouterDialogControllerImpl* GetOrCreateForWebContents(
33 content::WebContents* web_contents); 30 content::WebContents* web_contents);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 bool media_router_dialog_pending_; 65 bool media_router_dialog_pending_;
69 66
70 base::WeakPtr<MediaRouterAction> action_; 67 base::WeakPtr<MediaRouterAction> action_;
71 68
72 DISALLOW_COPY_AND_ASSIGN(MediaRouterDialogControllerImpl); 69 DISALLOW_COPY_AND_ASSIGN(MediaRouterDialogControllerImpl);
73 }; 70 };
74 71
75 } // namespace media_router 72 } // namespace media_router
76 73
77 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_DIALOG_CONTROLLER_I MPL_H_ 74 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_DIALOG_CONTROLLER_I MPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/translate/translate_bubble_view.h ('k') | chrome/browser/ui/webui/ntp/new_tab_page_sync_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698