| Index: components/search_engines/template_url.h
|
| diff --git a/components/search_engines/template_url.h b/components/search_engines/template_url.h
|
| index fe4fc31300787093619c21743e8a80d450377e61..e931a0ae6b1c7c9c7a69b9cf8c01e0507e4a1717 100644
|
| --- a/components/search_engines/template_url.h
|
| +++ b/components/search_engines/template_url.h
|
| @@ -613,9 +613,6 @@ class TemplateURL {
|
| }
|
|
|
| Type type() const { return type_; }
|
| - // TODO(ianwen): remove set_type() once RestoreExtensionInfoIfNecessary() no
|
| - // longer needs it.
|
| - void set_type(Type type) { type_ = type; }
|
|
|
| // This setter shouldn't be used except by TemplateURLService and
|
| // TemplateURLServiceClient implementations.
|
| @@ -757,7 +754,7 @@ class TemplateURL {
|
| TemplateURLRef contextual_search_url_ref_;
|
| std::unique_ptr<AssociatedExtensionInfo> extension_info_;
|
|
|
| - Type type_;
|
| + const Type type_;
|
|
|
| // Caches the computed engine type across successive calls to GetEngineType().
|
| mutable SearchEngineType engine_type_;
|
|
|