Index: chrome/browser/password_manager/password_manager_util.h |
diff --git a/chrome/browser/password_manager/password_manager_util.h b/chrome/browser/password_manager/password_manager_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..361650ee6731c2340b646b2f12bcae878eea41ff |
--- /dev/null |
+++ b/chrome/browser/password_manager/password_manager_util.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2013 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. |
+ |
+#ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_H_ |
+#define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_H_ |
+ |
+#include <string> |
+ |
+#include "base/basictypes.h" |
+ |
+namespace password_manager_util { |
+ |
+// Check whether the |url_host| is monitored or not. If yes, we put the |
+// domain name into |domain_name| |
+bool IsDomainNameMonitored(const std::string& url_host, |
+ std::string* domain_name); |
+ |
+} // namespace password_manager_util |
+ |
+#endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_UTIL_H_ |