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

Side by Side Diff: chrome/browser/ui/passwords/manage_passwords_ui_controller.h

Issue 416373002: Cleanup return values in chrome/browser/ui/passwords (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/timer/elapsed_timer.h" 10 #include "base/timer/elapsed_timer.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 // Set the state of the Omnibox icon, and possibly show the associated bubble 87 // Set the state of the Omnibox icon, and possibly show the associated bubble
88 // without user interaction. 88 // without user interaction.
89 virtual void UpdateIconAndBubbleState(ManagePasswordsIcon* icon); 89 virtual void UpdateIconAndBubbleState(ManagePasswordsIcon* icon);
90 90
91 password_manager::ui::State state() const { return state_; } 91 password_manager::ui::State state() const { return state_; }
92 92
93 // True if a password is sitting around, waiting for a user to decide whether 93 // True if a password is sitting around, waiting for a user to decide whether
94 // or not to save it. 94 // or not to save it.
95 bool PasswordPendingUserDecision() const; 95 bool PasswordPendingUserDecision() const;
96 96
97 const autofill::ConstPasswordFormMap best_matches() const { 97 const autofill::ConstPasswordFormMap& best_matches() const {
98 return password_form_map_; 98 return password_form_map_;
99 } 99 }
100 100
101 const GURL& origin() const { return origin_; } 101 const GURL& origin() const { return origin_; }
102 102
103 protected: 103 protected:
104 explicit ManagePasswordsUIController( 104 explicit ManagePasswordsUIController(
105 content::WebContents* web_contents); 105 content::WebContents* web_contents);
106 106
107 // The pieces of saving and blacklisting passwords that interact with 107 // The pieces of saving and blacklisting passwords that interact with
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 // The origin of the form we're currently dealing with; we'll use this to 161 // The origin of the form we're currently dealing with; we'll use this to
162 // determine which PasswordStore changes we should care about when updating 162 // determine which PasswordStore changes we should care about when updating
163 // |password_form_map_|. 163 // |password_form_map_|.
164 GURL origin_; 164 GURL origin_;
165 165
166 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); 166 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController);
167 }; 167 };
168 168
169 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ 169 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698