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

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

Issue 1085613002: Remove unneeded 'google_chrome_strings.h' from all cc files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « chrome/browser/ui/webui/version_ui.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/voice_search_ui.h" 5 #include "chrome/browser/ui/webui/voice_search_ui.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
(...skipping 12 matching lines...) Expand all
23 #include "chrome/browser/ui/app_list/start_page_service.h" 23 #include "chrome/browser/ui/app_list/start_page_service.h"
24 #include "chrome/browser/ui/webui/version_handler.h" 24 #include "chrome/browser/ui/webui/version_handler.h"
25 #include "chrome/common/chrome_content_client.h" 25 #include "chrome/common/chrome_content_client.h"
26 #include "chrome/common/chrome_paths.h" 26 #include "chrome/common/chrome_paths.h"
27 #include "chrome/common/chrome_version_info.h" 27 #include "chrome/common/chrome_version_info.h"
28 #include "chrome/common/extensions/extension_constants.h" 28 #include "chrome/common/extensions/extension_constants.h"
29 #include "chrome/common/pref_names.h" 29 #include "chrome/common/pref_names.h"
30 #include "chrome/common/url_constants.h" 30 #include "chrome/common/url_constants.h"
31 #include "chrome/grit/chromium_strings.h" 31 #include "chrome/grit/chromium_strings.h"
32 #include "chrome/grit/generated_resources.h" 32 #include "chrome/grit/generated_resources.h"
33 #include "chrome/grit/google_chrome_strings.h"
34 #include "content/public/browser/browser_thread.h" 33 #include "content/public/browser/browser_thread.h"
35 #include "content/public/browser/plugin_service.h" 34 #include "content/public/browser/plugin_service.h"
36 #include "content/public/browser/url_data_source.h" 35 #include "content/public/browser/url_data_source.h"
37 #include "content/public/browser/web_ui.h" 36 #include "content/public/browser/web_ui.h"
38 #include "content/public/browser/web_ui_data_source.h" 37 #include "content/public/browser/web_ui_data_source.h"
39 #include "content/public/browser/web_ui_message_handler.h" 38 #include "content/public/browser/web_ui_message_handler.h"
40 #include "content/public/common/user_agent.h" 39 #include "content/public/common/user_agent.h"
41 #include "extensions/browser/extension_prefs.h" 40 #include "extensions/browser/extension_prefs.h"
42 #include "extensions/browser/extension_system.h" 41 #include "extensions/browser/extension_system.h"
43 #include "extensions/common/extension.h" 42 #include "extensions/common/extension.h"
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 VoiceSearchUI::VoiceSearchUI(content::WebUI* web_ui) 437 VoiceSearchUI::VoiceSearchUI(content::WebUI* web_ui)
439 : content::WebUIController(web_ui) { 438 : content::WebUIController(web_ui) {
440 Profile* profile = Profile::FromWebUI(web_ui); 439 Profile* profile = Profile::FromWebUI(web_ui);
441 web_ui->AddMessageHandler(new VoiceSearchDomHandler(profile)); 440 web_ui->AddMessageHandler(new VoiceSearchDomHandler(profile));
442 441
443 // Set up the about:voicesearch source. 442 // Set up the about:voicesearch source.
444 content::WebUIDataSource::Add(profile, CreateVoiceSearchUiHtmlSource()); 443 content::WebUIDataSource::Add(profile, CreateVoiceSearchUiHtmlSource());
445 } 444 }
446 445
447 VoiceSearchUI::~VoiceSearchUI() {} 446 VoiceSearchUI::~VoiceSearchUI() {}
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/version_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698