Index: chrome/browser/ui/passwords/manage_passwords_icon.cc |
diff --git a/chrome/browser/ui/passwords/manage_passwords_icon.cc b/chrome/browser/ui/passwords/manage_passwords_icon.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0914bbab0bb471217729ce61f56338e92f78854e |
--- /dev/null |
+++ b/chrome/browser/ui/passwords/manage_passwords_icon.cc |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/ui/passwords/manage_passwords_icon.h" |
+ |
+ManagePasswordsIcon::ManagePasswordsIcon() : state_(INACTIVE_STATE) { |
+} |
+ |
+ManagePasswordsIcon::~ManagePasswordsIcon() { |
+} |
+ |
+void ManagePasswordsIcon::SetState(State state) { |
+ if (state_ == state) |
+ return; |
+ state_ = state; |
+ SetStateInternal(state); |
+} |