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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_action_view.h

Issue 1573843002: Make `chrome` target build without unused data members on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content_target
Patch Set: browsertest fix Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar/toolbar_action_view.h
diff --git a/chrome/browser/ui/views/toolbar/toolbar_action_view.h b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
index 699740102c291e9502f0be1f2e7f7a620c2cbc1d..8d9b9ff4f7210674e73ccbb769567c41e110b9ea 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_action_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_action_view.h
@@ -15,7 +15,6 @@
#include "ui/views/view.h"
class ExtensionAction;
-class Profile;
namespace extensions {
class Extension;
@@ -67,7 +66,6 @@ class ToolbarActionView : public views::MenuButton,
using ContextMenuCallback = base::Callback<void(ToolbarActionView*)>;
ToolbarActionView(ToolbarActionViewController* view_controller,
- Profile* profile,
Delegate* delegate);
~ToolbarActionView() override;
@@ -140,9 +138,6 @@ class ToolbarActionView : public views::MenuButton,
// The controller for this toolbar action view.
ToolbarActionViewController* view_controller_;
- // The associated profile.
- Profile* profile_;
-
// Delegate that usually represents a container for ToolbarActionView.
Delegate* delegate_;
« no previous file with comments | « chrome/browser/ui/views/toolbar/browser_actions_container.cc ('k') | chrome/browser/ui/views/toolbar/toolbar_action_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698