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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.cc

Issue 468233004: Cleanup: Another round of removing unneeded grit #includes in chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac, undo ui_localizer.mm 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 | 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/webui/chromeos/login/enrollment_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/enrollment_screen_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h" 23 #include "chrome/browser/ui/webui/chromeos/login/oobe_ui.h"
24 #include "chromeos/network/network_state.h" 24 #include "chromeos/network/network_state.h"
25 #include "chromeos/network/network_state_handler.h" 25 #include "chromeos/network/network_state_handler.h"
26 #include "components/policy/core/browser/cloud/message_util.h" 26 #include "components/policy/core/browser/cloud/message_util.h"
27 #include "content/public/browser/web_contents.h" 27 #include "content/public/browser/web_contents.h"
28 #include "google_apis/gaia/gaia_auth_fetcher.h" 28 #include "google_apis/gaia/gaia_auth_fetcher.h"
29 #include "google_apis/gaia/gaia_auth_util.h" 29 #include "google_apis/gaia/gaia_auth_util.h"
30 #include "google_apis/gaia/gaia_constants.h" 30 #include "google_apis/gaia/gaia_constants.h"
31 #include "google_apis/gaia/gaia_urls.h" 31 #include "google_apis/gaia/gaia_urls.h"
32 #include "google_apis/gaia/google_service_auth_error.h" 32 #include "google_apis/gaia/google_service_auth_error.h"
33 #include "grit/chromium_strings.h"
34 #include "grit/generated_resources.h" 33 #include "grit/generated_resources.h"
35 #include "net/url_request/url_request_context_getter.h" 34 #include "net/url_request/url_request_context_getter.h"
36 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
37 36
38 namespace chromeos { 37 namespace chromeos {
39 namespace { 38 namespace {
40 39
41 const char kJsScreenPath[] = "login.OAuthEnrollmentScreen"; 40 const char kJsScreenPath[] = "login.OAuthEnrollmentScreen";
42 41
43 // Start page of GAIA authentication extension. 42 // Start page of GAIA authentication extension.
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 screen_data.SetString("signin_url", kGaiaExtStartPage); 593 screen_data.SetString("signin_url", kGaiaExtStartPage);
595 screen_data.SetString("gaiaUrl", GaiaUrls::GetInstance()->gaia_url().spec()); 594 screen_data.SetString("gaiaUrl", GaiaUrls::GetInstance()->gaia_url().spec());
596 screen_data.SetString("enrollment_mode", 595 screen_data.SetString("enrollment_mode",
597 EnrollmentModeToString(enrollment_mode_)); 596 EnrollmentModeToString(enrollment_mode_));
598 screen_data.SetString("management_domain", management_domain_); 597 screen_data.SetString("management_domain", management_domain_);
599 598
600 ShowScreen(OobeUI::kScreenOobeEnrollment, &screen_data); 599 ShowScreen(OobeUI::kScreenOobeEnrollment, &screen_data);
601 } 600 }
602 601
603 } // namespace chromeos 602 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698