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

Side by Side Diff: chrome/browser/protector/default_search_provider_change.cc

Issue 10656014: Merge 143605 - grd file update for new 2x assets (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/page_info_model.cc ('k') | chrome/browser/protector/homepage_change.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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/search_engines/template_url_service_observer.h" 21 #include "chrome/browser/search_engines/template_url_service_observer.h"
22 #include "chrome/browser/webdata/keyword_table.h" 22 #include "chrome/browser/webdata/keyword_table.h"
23 #include "chrome/common/chrome_notification_types.h" 23 #include "chrome/common/chrome_notification_types.h"
24 #include "chrome/common/url_constants.h" 24 #include "chrome/common/url_constants.h"
25 #include "content/public/browser/notification_observer.h" 25 #include "content/public/browser/notification_observer.h"
26 #include "content/public/browser/notification_registrar.h" 26 #include "content/public/browser/notification_registrar.h"
27 #include "content/public/browser/notification_service.h" 27 #include "content/public/browser/notification_service.h"
28 #include "googleurl/src/gurl.h" 28 #include "googleurl/src/gurl.h"
29 #include "grit/chromium_strings.h" 29 #include "grit/chromium_strings.h"
30 #include "grit/generated_resources.h" 30 #include "grit/generated_resources.h"
31 #include "grit/theme_resources.h" 31 #include "grit/theme_resources_standard.h"
32 #include "ui/base/l10n/l10n_util.h" 32 #include "ui/base/l10n/l10n_util.h"
33 33
34 namespace protector { 34 namespace protector {
35 35
36 namespace { 36 namespace {
37 37
38 // Maximum length of the search engine name to be displayed. 38 // Maximum length of the search engine name to be displayed.
39 const size_t kMaxDisplayedNameLength = 16; 39 const size_t kMaxDisplayedNameLength = 16;
40 40
41 // Matches TemplateURL with all fields set from the prepopulated data equal 41 // Matches TemplateURL with all fields set from the prepopulated data equal
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 DCHECK(url_service); 424 DCHECK(url_service);
425 return url_service; 425 return url_service;
426 } 426 }
427 427
428 BaseSettingChange* CreateDefaultSearchProviderChange(TemplateURL* actual, 428 BaseSettingChange* CreateDefaultSearchProviderChange(TemplateURL* actual,
429 TemplateURL* backup) { 429 TemplateURL* backup) {
430 return new DefaultSearchProviderChange(actual, backup); 430 return new DefaultSearchProviderChange(actual, backup);
431 } 431 }
432 432
433 } // namespace protector 433 } // namespace protector
OLDNEW
« no previous file with comments | « chrome/browser/page_info_model.cc ('k') | chrome/browser/protector/homepage_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698