| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #import "chrome/browser/ui/cocoa/search_engine_list_model.h" | 5 #import "chrome/browser/ui/cocoa/options/search_engine_list_model.h" |
| 6 | 6 |
| 7 #include "base/sys_string_conversions.h" | 7 #include "base/sys_string_conversions.h" |
| 8 #include "chrome/browser/search_engines/template_url.h" | 8 #include "chrome/browser/search_engines/template_url.h" |
| 9 #include "chrome/browser/search_engines/template_url_model.h" | 9 #include "chrome/browser/search_engines/template_url_model.h" |
| 10 #include "chrome/browser/search_engines/template_url_model_observer.h" | 10 #include "chrome/browser/search_engines/template_url_model_observer.h" |
| 11 | 11 |
| 12 NSString* const kSearchEngineListModelChangedNotification = | 12 NSString* const kSearchEngineListModelChangedNotification = |
| 13 @"kSearchEngineListModelChangedNotification"; | 13 @"kSearchEngineListModelChangedNotification"; |
| 14 | 14 |
| 15 @interface SearchEngineListModel(Private) | 15 @interface SearchEngineListModel(Private) |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 } | 127 } |
| 128 DCHECK(false); | 128 DCHECK(false); |
| 129 } | 129 } |
| 130 } | 130 } |
| 131 | 131 |
| 132 // Return TRUE if the default is managed via policy. | 132 // Return TRUE if the default is managed via policy. |
| 133 - (BOOL)isDefaultManaged { | 133 - (BOOL)isDefaultManaged { |
| 134 return model_->is_default_search_managed(); | 134 return model_->is_default_search_managed(); |
| 135 } | 135 } |
| 136 @end | 136 @end |
| OLD | NEW |