Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(479)

Side by Side Diff: chrome/browser/ui/webui/flash_ui.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/flags_ui.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/flash_ui.h" 5 #include "chrome/browser/ui/webui/flash_ui.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/i18n/time_formatting.h" 13 #include "base/i18n/time_formatting.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
18 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
19 #include "base/threading/thread_restrictions.h" 19 #include "base/threading/thread_restrictions.h"
20 #include "base/timer/timer.h" 20 #include "base/timer/timer.h"
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "chrome/browser/crash_upload_list.h" 22 #include "chrome/browser/crash_upload_list.h"
23 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h" 23 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
24 #include "chrome/browser/plugins/plugin_prefs.h" 24 #include "chrome/browser/plugins/plugin_prefs.h"
25 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
26 #include "chrome/common/chrome_version_info.h" 26 #include "chrome/common/chrome_version_info.h"
27 #include "chrome/common/url_constants.h" 27 #include "chrome/common/url_constants.h"
28 #include "chrome/grit/chromium_strings.h"
29 #include "chrome/grit/generated_resources.h"
28 #include "content/public/browser/gpu_data_manager.h" 30 #include "content/public/browser/gpu_data_manager.h"
29 #include "content/public/browser/gpu_data_manager_observer.h" 31 #include "content/public/browser/gpu_data_manager_observer.h"
30 #include "content/public/browser/plugin_service.h" 32 #include "content/public/browser/plugin_service.h"
31 #include "content/public/browser/user_metrics.h" 33 #include "content/public/browser/user_metrics.h"
32 #include "content/public/browser/web_contents.h" 34 #include "content/public/browser/web_contents.h"
33 #include "content/public/browser/web_ui.h" 35 #include "content/public/browser/web_ui.h"
34 #include "content/public/browser/web_ui_data_source.h" 36 #include "content/public/browser/web_ui_data_source.h"
35 #include "content/public/browser/web_ui_message_handler.h" 37 #include "content/public/browser/web_ui_message_handler.h"
36 #include "content/public/common/content_constants.h" 38 #include "content/public/common/content_constants.h"
37 #include "content/public/common/webplugininfo.h" 39 #include "content/public/common/webplugininfo.h"
38 #include "gpu/config/gpu_info.h" 40 #include "gpu/config/gpu_info.h"
39 #include "grit/browser_resources.h" 41 #include "grit/browser_resources.h"
40 #include "grit/chromium_strings.h"
41 #include "grit/generated_resources.h"
42 #include "grit/theme_resources.h" 42 #include "grit/theme_resources.h"
43 #include "ui/base/l10n/l10n_util.h" 43 #include "ui/base/l10n/l10n_util.h"
44 44
45 #if defined(OS_WIN) 45 #if defined(OS_WIN)
46 #include "base/win/windows_version.h" 46 #include "base/win/windows_version.h"
47 #endif 47 #endif
48 48
49 using base::ASCIIToUTF16; 49 using base::ASCIIToUTF16;
50 using base::UserMetricsAction; 50 using base::UserMetricsAction;
51 using content::GpuDataManager; 51 using content::GpuDataManager;
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 Profile* profile = Profile::FromWebUI(web_ui); 393 Profile* profile = Profile::FromWebUI(web_ui);
394 content::WebUIDataSource::Add(profile, CreateFlashUIHTMLSource()); 394 content::WebUIDataSource::Add(profile, CreateFlashUIHTMLSource());
395 } 395 }
396 396
397 // static 397 // static
398 base::RefCountedMemory* FlashUI::GetFaviconResourceBytes( 398 base::RefCountedMemory* FlashUI::GetFaviconResourceBytes(
399 ui::ScaleFactor scale_factor) { 399 ui::ScaleFactor scale_factor) {
400 // Use the default icon for now. 400 // Use the default icon for now.
401 return NULL; 401 return NULL;
402 } 402 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/flags_ui.cc ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698