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

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

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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
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/nacl_ui.h" 5 #include "chrome/browser/ui/webui/nacl_ui.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 18 matching lines...) Expand all
29 #include "base/values.h" 29 #include "base/values.h"
30 #include "build/build_config.h" 30 #include "build/build_config.h"
31 #include "chrome/browser/plugins/plugin_prefs.h" 31 #include "chrome/browser/plugins/plugin_prefs.h"
32 #include "chrome/browser/profiles/profile.h" 32 #include "chrome/browser/profiles/profile.h"
33 #include "chrome/common/channel_info.h" 33 #include "chrome/common/channel_info.h"
34 #include "chrome/common/chrome_paths.h" 34 #include "chrome/common/chrome_paths.h"
35 #include "chrome/common/chrome_switches.h" 35 #include "chrome/common/chrome_switches.h"
36 #include "chrome/common/url_constants.h" 36 #include "chrome/common/url_constants.h"
37 #include "chrome/grit/browser_resources.h" 37 #include "chrome/grit/browser_resources.h"
38 #include "chrome/grit/chromium_strings.h" 38 #include "chrome/grit/chromium_strings.h"
39 #include "chrome/grit/generated_resources.h"
40 #include "components/strings/grit/components_strings.h" 39 #include "components/strings/grit/components_strings.h"
41 #include "components/version_info/version_info.h" 40 #include "components/version_info/version_info.h"
42 #include "content/public/browser/browser_thread.h" 41 #include "content/public/browser/browser_thread.h"
43 #include "content/public/browser/plugin_service.h" 42 #include "content/public/browser/plugin_service.h"
44 #include "content/public/browser/web_ui.h" 43 #include "content/public/browser/web_ui.h"
45 #include "content/public/browser/web_ui_data_source.h" 44 #include "content/public/browser/web_ui_data_source.h"
46 #include "content/public/browser/web_ui_message_handler.h" 45 #include "content/public/browser/web_ui_message_handler.h"
47 #include "content/public/common/webplugininfo.h" 46 #include "content/public/common/webplugininfo.h"
48 #include "ui/base/l10n/l10n_util.h" 47 #include "ui/base/l10n/l10n_util.h"
49 48
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 387
389 NaClUI::NaClUI(content::WebUI* web_ui) : WebUIController(web_ui) { 388 NaClUI::NaClUI(content::WebUI* web_ui) : WebUIController(web_ui) {
390 base::RecordAction(UserMetricsAction("ViewAboutNaCl")); 389 base::RecordAction(UserMetricsAction("ViewAboutNaCl"));
391 390
392 web_ui->AddMessageHandler(base::MakeUnique<NaClDomHandler>()); 391 web_ui->AddMessageHandler(base::MakeUnique<NaClDomHandler>());
393 392
394 // Set up the about:nacl source. 393 // Set up the about:nacl source.
395 Profile* profile = Profile::FromWebUI(web_ui); 394 Profile* profile = Profile::FromWebUI(web_ui);
396 content::WebUIDataSource::Add(profile, CreateNaClUIHTMLSource()); 395 content::WebUIDataSource::Add(profile, CreateNaClUIHTMLSource());
397 } 396 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/md_history_ui.cc ('k') | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698