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

Side by Side Diff: chrome/browser/ui/sync/one_click_signin_helper.h

Issue 10805051: Add RenderViewHost* to DidStartLoading and DidStopLoading in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SYNC_ONE_CLICK_SIGNIN_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_
6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_ 6 #define CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/public/browser/web_contents_observer.h" 10 #include "content/public/browser/web_contents_observer.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // The portion of ShowInfoBarIfPossible() that needs to run on the UI thread. 46 // The portion of ShowInfoBarIfPossible() that needs to run on the UI thread.
47 static void ShowInfoBarUIThread(const std::string& session_index, 47 static void ShowInfoBarUIThread(const std::string& session_index,
48 const std::string& email, 48 const std::string& email,
49 int child_id, 49 int child_id,
50 int route_id); 50 int route_id);
51 51
52 // content::WebContentsObserver overrides. 52 // content::WebContentsObserver overrides.
53 virtual void DidNavigateAnyFrame( 53 virtual void DidNavigateAnyFrame(
54 const content::LoadCommittedDetails& details, 54 const content::LoadCommittedDetails& details,
55 const content::FrameNavigateParams& params) OVERRIDE; 55 const content::FrameNavigateParams& params) OVERRIDE;
56 virtual void DidStopLoading() OVERRIDE; 56 virtual void DidStopLoading(
57 content::RenderViewHost* render_view_host) OVERRIDE;
57 58
58 // Save the email address that we can display the info bar correctly. 59 // Save the email address that we can display the info bar correctly.
59 void SaveSessionIndexAndEmail(const std::string& session_index, 60 void SaveSessionIndexAndEmail(const std::string& session_index,
60 const std::string& email); 61 const std::string& email);
61 62
62 // Remember the user's password for later use. 63 // Remember the user's password for later use.
63 void SavePassword(const std::string& password); 64 void SavePassword(const std::string& password);
64 65
65 // Information about the account that has just logged in. 66 // Information about the account that has just logged in.
66 std::string session_index_; 67 std::string session_index_;
67 std::string email_; 68 std::string email_;
68 std::string password_; 69 std::string password_;
69 70
70 DISALLOW_COPY_AND_ASSIGN(OneClickSigninHelper); 71 DISALLOW_COPY_AND_ASSIGN(OneClickSigninHelper);
71 }; 72 };
72 73
73 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_ 74 #endif // CHROME_BROWSER_UI_SYNC_ONE_CLICK_SIGNIN_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/thumbnail_generator.cc ('k') | chrome/browser/ui/sync/one_click_signin_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698