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

Side by Side Diff: chrome/browser/ui/webui/signin/inline_login_handler.cc

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/webui/signin/inline_login_handler.h" 5 #include "chrome/browser/ui/webui/signin/inline_login_handler.h"
6 6
7 #include <limits.h>
8
7 #include "base/bind.h" 9 #include "base/bind.h"
8 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
9 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
11 #include "base/values.h" 13 #include "base/values.h"
12 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/extensions/signin/gaia_auth_extension_loader.h" 15 #include "chrome/browser/extensions/signin/gaia_auth_extension_loader.h"
14 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/browser/signin/signin_promo.h" 17 #include "chrome/browser/signin/signin_promo.h"
16 #include "chrome/browser/ui/browser_navigator.h" 18 #include "chrome/browser/ui/browser_navigator.h"
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 228
227 chrome::NavigateParams params( 229 chrome::NavigateParams params(
228 profile, 230 profile,
229 net::AppendOrReplaceQueryParameter( 231 net::AppendOrReplaceQueryParameter(
230 main_frame_url, signin::kSignInPromoQueryKeyConstrained, "0"), 232 main_frame_url, signin::kSignInPromoQueryKeyConstrained, "0"),
231 ui::PAGE_TRANSITION_AUTO_TOPLEVEL); 233 ui::PAGE_TRANSITION_AUTO_TOPLEVEL);
232 chrome::Navigate(&params); 234 chrome::Navigate(&params);
233 235
234 web_ui()->CallJavascriptFunction("inline.login.closeDialog"); 236 web_ui()->CallJavascriptFunction("inline.login.closeDialog");
235 } 237 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698