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

Unified Diff: chrome/browser/ui/views/profiles/supervised_user_avatar_label.h

Issue 355233002: Fix build when ENABLE_MANAGED_USERS is not defined (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Include missing browsertest .js file in chrome_tests.gypi Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/profiles/supervised_user_avatar_label.h
diff --git a/chrome/browser/ui/views/profiles/avatar_label.h b/chrome/browser/ui/views/profiles/supervised_user_avatar_label.h
similarity index 61%
rename from chrome/browser/ui/views/profiles/avatar_label.h
rename to chrome/browser/ui/views/profiles/supervised_user_avatar_label.h
index 9126d0210e95dc4ee0ed57ad204d4a2193524265..506fba2e417f45e6cb557ddb29919d4449898dd6 100644
--- a/chrome/browser/ui/views/profiles/avatar_label.h
+++ b/chrome/browser/ui/views/profiles/supervised_user_avatar_label.h
@@ -2,22 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_LABEL_H_
-#define CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_LABEL_H_
+#ifndef CHROME_BROWSER_UI_VIEWS_PROFILES_SUPERVISED_USER_AVATAR_LABEL_H_
+#define CHROME_BROWSER_UI_VIEWS_PROFILES_SUPERVISED_USER_AVATAR_LABEL_H_
#include "base/compiler_specific.h"
+#include "chrome/browser/supervised_user/supervised_users.h"
#include "ui/views/controls/button/label_button.h"
class BrowserView;
-// AvatarLabel
+// SupervisedUserAvatarLabel
//
// A label used to display a string indicating that the current profile belongs
// to a supervised user.
-class AvatarLabel : public views::LabelButton {
+class SupervisedUserAvatarLabel : public views::LabelButton {
public:
- explicit AvatarLabel(BrowserView* browser_view);
- virtual ~AvatarLabel();
+ explicit SupervisedUserAvatarLabel(BrowserView* browser_view);
+ virtual ~SupervisedUserAvatarLabel();
// views::LabelButton:
virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
@@ -33,7 +34,7 @@ class AvatarLabel : public views::LabelButton {
private:
BrowserView* browser_view_;
- DISALLOW_COPY_AND_ASSIGN(AvatarLabel);
+ DISALLOW_COPY_AND_ASSIGN(SupervisedUserAvatarLabel);
};
-#endif // CHROME_BROWSER_UI_VIEWS_PROFILES_AVATAR_LABEL_H_
+#endif // CHROME_BROWSER_UI_VIEWS_PROFILES_SUPERVISED_USER_AVATAR_LABEL_H_
« no previous file with comments | « chrome/browser/ui/views/profiles/avatar_label.cc ('k') | chrome/browser/ui/views/profiles/supervised_user_avatar_label.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698