| OLD | NEW |
| 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/sync_file_system_internals_ui.h" | 5 #include "chrome/browser/ui/webui/sync_file_system_internals_ui.h" |
| 6 | 6 |
| 7 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
| 8 #include "chrome/common/url_constants.h" | 8 #include "chrome/common/url_constants.h" |
| 9 #include "content/public/browser/web_ui.h" | 9 #include "content/public/browser/web_ui.h" |
| 10 #include "content/public/browser/web_ui_data_source.h" | 10 #include "content/public/browser/web_ui_data_source.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } // namespace | 23 } // namespace |
| 24 | 24 |
| 25 SyncFileSystemInternalsUI::SyncFileSystemInternalsUI(content::WebUI* web_ui) | 25 SyncFileSystemInternalsUI::SyncFileSystemInternalsUI(content::WebUI* web_ui) |
| 26 : WebUIController(web_ui) { | 26 : WebUIController(web_ui) { |
| 27 Profile* profile = Profile::FromWebUI(web_ui); | 27 Profile* profile = Profile::FromWebUI(web_ui); |
| 28 content::WebUIDataSource::Add(profile, | 28 content::WebUIDataSource::Add(profile, |
| 29 CreateSyncFileSystemInternalsHTMLSource()); | 29 CreateSyncFileSystemInternalsHTMLSource()); |
| 30 } | 30 } |
| 31 | 31 |
| 32 SyncFileSystemInternalsUI::~SyncFileSystemInternalsUI() {} | 32 SyncFileSystemInternalsUI::~SyncFileSystemInternalsUI() {} |
| OLD | NEW |