| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/flash_ui.h" | 5 #include "chrome/browser/ui/webui/flash_ui.h" |
| 6 | 6 |
| 7 #include "base/i18n/time_formatting.h" | 7 #include "base/i18n/time_formatting.h" |
| 8 #include "base/string_number_conversions.h" | 8 #include "base/string_number_conversions.h" |
| 9 #include "base/threading/thread_restrictions.h" | 9 #include "base/threading/thread_restrictions.h" |
| 10 #include "base/utf_string_conversions.h" |
| 10 #include "base/values.h" | 11 #include "base/values.h" |
| 11 #include "chrome/browser/crash_upload_list.h" | 12 #include "chrome/browser/crash_upload_list.h" |
| 12 #include "chrome/browser/platform_util.h" | 13 #include "chrome/browser/platform_util.h" |
| 13 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 15 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 15 #include "chrome/browser/ui/webui/crashes_ui.h" | 16 #include "chrome/browser/ui/webui/crashes_ui.h" |
| 16 #include "chrome/common/chrome_version_info.h" | 17 #include "chrome/common/chrome_version_info.h" |
| 17 #include "chrome/common/jstemplate_builder.h" | 18 #include "chrome/common/jstemplate_builder.h" |
| 18 #include "chrome/common/url_constants.h" | 19 #include "chrome/common/url_constants.h" |
| 19 #include "content/browser/gpu/gpu_data_manager.h" | 20 #include "content/browser/gpu/gpu_data_manager.h" |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 | 343 |
| 343 // Set up the about:flash source. | 344 // Set up the about:flash source. |
| 344 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source); | 345 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source); |
| 345 } | 346 } |
| 346 | 347 |
| 347 // static | 348 // static |
| 348 RefCountedMemory* FlashUI::GetFaviconResourceBytes() { | 349 RefCountedMemory* FlashUI::GetFaviconResourceBytes() { |
| 349 // Use the default icon for now. | 350 // Use the default icon for now. |
| 350 return NULL; | 351 return NULL; |
| 351 } | 352 } |
| OLD | NEW |