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

Side by Side Diff: chrome/browser/ui/webui/options/search_engine_manager_handler.cc

Issue 2289543004: Remove more unused grit includes in chrome/ (Closed)
Patch Set: Created 4 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
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/options/search_engine_manager_handler.h" 5 #include "chrome/browser/ui/webui/options/search_engine_manager_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/extensions/extension_util.h" 11 #include "chrome/browser/extensions/extension_util.h"
12 #include "chrome/browser/profiles/profile.h" 12 #include "chrome/browser/profiles/profile.h"
13 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" 13 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h"
14 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" 14 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h"
15 #include "chrome/browser/ui/search_engines/template_url_table_model.h" 15 #include "chrome/browser/ui/search_engines/template_url_table_model.h"
16 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
17 #include "chrome/grit/generated_resources.h" 17 #include "chrome/grit/generated_resources.h"
18 #include "chrome/grit/locale_settings.h"
19 #include "components/search_engines/template_url.h" 18 #include "components/search_engines/template_url.h"
20 #include "components/search_engines/template_url_service.h" 19 #include "components/search_engines/template_url_service.h"
21 #include "content/public/browser/user_metrics.h" 20 #include "content/public/browser/user_metrics.h"
22 #include "content/public/browser/web_ui.h" 21 #include "content/public/browser/web_ui.h"
23 #include "extensions/browser/extension_registry.h" 22 #include "extensions/browser/extension_registry.h"
24 #include "extensions/common/extension.h" 23 #include "extensions/common/extension.h"
25 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
26 25
27 namespace { 26 namespace {
28 27
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 323
325 // Recheck validity. It's possible to get here with invalid input if e.g. the 324 // Recheck validity. It's possible to get here with invalid input if e.g. the
326 // user calls the right JS functions directly from the web inspector. 325 // user calls the right JS functions directly from the web inspector.
327 if (edit_controller_->IsTitleValid(name) && 326 if (edit_controller_->IsTitleValid(name) &&
328 edit_controller_->IsKeywordValid(keyword) && 327 edit_controller_->IsKeywordValid(keyword) &&
329 edit_controller_->IsURLValid(url)) 328 edit_controller_->IsURLValid(url))
330 edit_controller_->AcceptAddOrEdit(name, keyword, url); 329 edit_controller_->AcceptAddOrEdit(name, keyword, url);
331 } 330 }
332 331
333 } // namespace options 332 } // namespace options
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/interstitials/interstitial_ui.cc ('k') | chrome/browser/ui/webui/settings/certificates_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698