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

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

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc 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 #include "chrome/browser/ui/sync/one_click_signin_helper.h" 5 #include "chrome/browser/ui/sync/one_click_signin_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "base/string_split.h" 10 #include "base/string_split.h"
(...skipping 18 matching lines...) Expand all
29 #include "chrome/common/url_constants.h" 29 #include "chrome/common/url_constants.h"
30 #include "content/public/browser/browser_thread.h" 30 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/page_navigator.h" 31 #include "content/public/browser/page_navigator.h"
32 #include "content/public/browser/web_contents.h" 32 #include "content/public/browser/web_contents.h"
33 #include "content/public/browser/web_contents_view.h" 33 #include "content/public/browser/web_contents_view.h"
34 #include "content/public/common/frame_navigate_params.h" 34 #include "content/public/common/frame_navigate_params.h"
35 #include "content/public/common/page_transition_types.h" 35 #include "content/public/common/page_transition_types.h"
36 #include "googleurl/src/gurl.h" 36 #include "googleurl/src/gurl.h"
37 #include "grit/chromium_strings.h" 37 #include "grit/chromium_strings.h"
38 #include "grit/generated_resources.h" 38 #include "grit/generated_resources.h"
39 #include "grit/theme_resources_standard.h" 39 #include "grit/theme_resources.h"
40 #include "net/cookies/cookie_monster.h" 40 #include "net/cookies/cookie_monster.h"
41 #include "net/url_request/url_request.h" 41 #include "net/url_request/url_request.h"
42 #include "ui/base/l10n/l10n_util.h" 42 #include "ui/base/l10n/l10n_util.h"
43 #include "ui/base/resource/resource_bundle.h" 43 #include "ui/base/resource/resource_bundle.h"
44 #include "webkit/forms/password_form.h" 44 #include "webkit/forms/password_form.h"
45 #include "webkit/forms/password_form_dom_manager.h" 45 #include "webkit/forms/password_form_dom_manager.h"
46 46
47 // The infobar asking the user if they want to use one-click sign in. 47 // The infobar asking the user if they want to use one-click sign in.
48 class OneClickLoginInfoBarDelegate : public ConfirmInfoBarDelegate { 48 class OneClickLoginInfoBarDelegate : public ConfirmInfoBarDelegate {
49 public: 49 public:
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 session_index_ = session_index; 346 session_index_ = session_index;
347 email_ = email; 347 email_ = email;
348 } 348 }
349 349
350 void OneClickSigninHelper::SavePassword(const std::string& password) { 350 void OneClickSigninHelper::SavePassword(const std::string& password) {
351 // TODO(rogerta): in the case of a 2-factor or captcha or some other type of 351 // TODO(rogerta): in the case of a 2-factor or captcha or some other type of
352 // challenge, its possible for the user to never complete the signin. 352 // challenge, its possible for the user to never complete the signin.
353 // Should have a way to detect this and clear the password member. 353 // Should have a way to detect this and clear the password member.
354 password_ = password; 354 password_ = password;
355 } 355 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/session_crashed_prompt.cc ('k') | chrome/browser/ui/toolbar/back_forward_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698