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 <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #if defined(ENABLE_THEMES) | 73 #if defined(ENABLE_THEMES) |
74 #include "chrome/browser/ui/webui/theme_source.h" | 74 #include "chrome/browser/ui/webui/theme_source.h" |
75 #endif | 75 #endif |
76 | 76 |
77 #if defined(OS_LINUX) || defined(OS_OPENBSD) | 77 #if defined(OS_LINUX) || defined(OS_OPENBSD) |
78 #include "content/public/browser/zygote_host_linux.h" | 78 #include "content/public/browser/zygote_host_linux.h" |
79 #include "content/public/common/sandbox_linux.h" | 79 #include "content/public/common/sandbox_linux.h" |
80 #endif | 80 #endif |
81 | 81 |
82 #if defined(OS_WIN) | 82 #if defined(OS_WIN) |
83 #include "chrome/browser/enumerate_modules_model_win.h" | 83 #include "chrome/browser/win/enumerate_modules_model.h" |
84 #endif | 84 #endif |
85 | 85 |
86 #if defined(OS_CHROMEOS) | 86 #if defined(OS_CHROMEOS) |
87 #include "chrome/browser/browser_process_platform_part_chromeos.h" | 87 #include "chrome/browser/browser_process_platform_part_chromeos.h" |
88 #include "chrome/browser/chromeos/customization/customization_document.h" | 88 #include "chrome/browser/chromeos/customization/customization_document.h" |
89 #endif | 89 #endif |
90 | 90 |
91 using base::Time; | 91 using base::Time; |
92 using base::TimeDelta; | 92 using base::TimeDelta; |
93 using content::BrowserThread; | 93 using content::BrowserThread; |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 Profile* profile = Profile::FromWebUI(web_ui); | 856 Profile* profile = Profile::FromWebUI(web_ui); |
857 | 857 |
858 #if defined(ENABLE_THEMES) | 858 #if defined(ENABLE_THEMES) |
859 // Set up the chrome://theme/ source. | 859 // Set up the chrome://theme/ source. |
860 ThemeSource* theme = new ThemeSource(profile); | 860 ThemeSource* theme = new ThemeSource(profile); |
861 content::URLDataSource::Add(profile, theme); | 861 content::URLDataSource::Add(profile, theme); |
862 #endif | 862 #endif |
863 | 863 |
864 content::URLDataSource::Add(profile, new AboutUIHTMLSource(name, profile)); | 864 content::URLDataSource::Add(profile, new AboutUIHTMLSource(name, profile)); |
865 } | 865 } |
OLD | NEW |