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

Unified Diff: chrome/browser/login_model.h

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/browser/language_combobox_model.cc ('k') | chrome/browser/login_prompt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/login_model.h
===================================================================
--- chrome/browser/login_model.h (revision 68044)
+++ chrome/browser/login_model.h (working copy)
@@ -1,35 +0,0 @@
-// Copyright (c) 2009 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_LOGIN_MODEL_H_
-#define CHROME_BROWSER_LOGIN_MODEL_H_
-#pragma once
-
-#include <string>
-
-// Simple Model & Observer interfaces for a LoginView to facilitate exchanging
-// information.
-class LoginModelObserver {
- public:
- // Called by the model when a username,password pair has been identified
- // as a match for the pending login prompt.
- virtual void OnAutofillDataAvailable(const std::wstring& username,
- const std::wstring& password) = 0;
-
- protected:
- virtual ~LoginModelObserver() {}
-};
-
-class LoginModel {
- public:
- // Set the observer interested in the data from the model.
- // observer can be null, signifying there is no longer any observer
- // interested in the data.
- virtual void SetObserver(LoginModelObserver* observer) = 0;
-
- protected:
- virtual ~LoginModel() {}
-};
-
-#endif // CHROME_BROWSER_LOGIN_MODEL_H_
« no previous file with comments | « chrome/browser/language_combobox_model.cc ('k') | chrome/browser/login_prompt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698