| OLD | NEW |
| 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/about_ui.h" | 5 #include "chrome/browser/ui/webui/about_ui.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "chrome/browser/about_flags.h" | 30 #include "chrome/browser/about_flags.h" |
| 31 #include "chrome/browser/browser_about_handler.h" | 31 #include "chrome/browser/browser_about_handler.h" |
| 32 #include "chrome/browser/browser_process.h" | 32 #include "chrome/browser/browser_process.h" |
| 33 #include "chrome/browser/defaults.h" | 33 #include "chrome/browser/defaults.h" |
| 34 #include "chrome/browser/memory_details.h" | 34 #include "chrome/browser/memory_details.h" |
| 35 #include "chrome/browser/net/predictor.h" | 35 #include "chrome/browser/net/predictor.h" |
| 36 #include "chrome/browser/net/url_fixer_upper.h" | 36 #include "chrome/browser/net/url_fixer_upper.h" |
| 37 #include "chrome/browser/profiles/profile.h" | 37 #include "chrome/browser/profiles/profile.h" |
| 38 #include "chrome/browser/profiles/profile_manager.h" | 38 #include "chrome/browser/profiles/profile_manager.h" |
| 39 #include "chrome/browser/ui/browser_dialogs.h" | 39 #include "chrome/browser/ui/browser_dialogs.h" |
| 40 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 40 #include "chrome/common/chrome_paths.h" | 41 #include "chrome/common/chrome_paths.h" |
| 41 #include "chrome/common/render_messages.h" | 42 #include "chrome/common/render_messages.h" |
| 42 #include "chrome/common/url_constants.h" | 43 #include "chrome/common/url_constants.h" |
| 43 #include "content/public/browser/browser_thread.h" | 44 #include "content/public/browser/browser_thread.h" |
| 44 #include "content/public/browser/render_process_host.h" | 45 #include "content/public/browser/render_process_host.h" |
| 45 #include "content/public/browser/render_view_host.h" | 46 #include "content/public/browser/render_view_host.h" |
| 46 #include "content/public/browser/web_contents.h" | 47 #include "content/public/browser/web_contents.h" |
| 47 #include "content/public/common/content_client.h" | 48 #include "content/public/common/content_client.h" |
| 48 #include "content/public/common/process_type.h" | 49 #include "content/public/common/process_type.h" |
| 49 #include "google_apis/gaia/google_service_auth_error.h" | 50 #include "google_apis/gaia/google_service_auth_error.h" |
| (...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1059 | 1060 |
| 1060 #if defined(ENABLE_THEMES) | 1061 #if defined(ENABLE_THEMES) |
| 1061 // Set up the chrome://theme/ source. | 1062 // Set up the chrome://theme/ source. |
| 1062 ThemeSource* theme = new ThemeSource(profile); | 1063 ThemeSource* theme = new ThemeSource(profile); |
| 1063 ChromeURLDataManager::AddDataSource(profile, theme); | 1064 ChromeURLDataManager::AddDataSource(profile, theme); |
| 1064 #endif | 1065 #endif |
| 1065 | 1066 |
| 1066 ChromeURLDataManager::AddDataSource( | 1067 ChromeURLDataManager::AddDataSource( |
| 1067 profile, new AboutUIHTMLSource(name, profile)); | 1068 profile, new AboutUIHTMLSource(name, profile)); |
| 1068 } | 1069 } |
| OLD | NEW |