| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/profile_signin_confirmation_ui.h" | 5 #include "chrome/browser/ui/webui/signin/profile_signin_confirmation_ui.h" |
| 6 | 6 |
| 7 #include "base/values.h" | 7 #include "base/values.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
| 10 #include "content/public/browser/web_contents.h" | 10 #include "content/public/browser/web_contents.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 html_source->AddResourcePath("profile_signin_confirmation.js", | 49 html_source->AddResourcePath("profile_signin_confirmation.js", |
| 50 IDR_PROFILE_SIGNIN_CONFIRMATION_JS); | 50 IDR_PROFILE_SIGNIN_CONFIRMATION_JS); |
| 51 html_source->SetDefaultResource(IDR_PROFILE_SIGNIN_CONFIRMATION_HTML); | 51 html_source->SetDefaultResource(IDR_PROFILE_SIGNIN_CONFIRMATION_HTML); |
| 52 | 52 |
| 53 Profile* profile = Profile::FromWebUI(web_ui); | 53 Profile* profile = Profile::FromWebUI(web_ui); |
| 54 content::WebUIDataSource::Add(profile, html_source); | 54 content::WebUIDataSource::Add(profile, html_source); |
| 55 } | 55 } |
| 56 | 56 |
| 57 ProfileSigninConfirmationUI::~ProfileSigninConfirmationUI() { | 57 ProfileSigninConfirmationUI::~ProfileSigninConfirmationUI() { |
| 58 } | 58 } |
| OLD | NEW |