Chromium Code Reviews| Index: components/search_engines/template_url.h |
| diff --git a/components/search_engines/template_url.h b/components/search_engines/template_url.h |
| index 16c79ea9f9d349463e9a4d3a884f6ef0d3a79c20..ff693963096a18d74db3a057e6d69615df7d8e7c 100644 |
| --- a/components/search_engines/template_url.h |
| +++ b/components/search_engines/template_url.h |
| @@ -499,6 +499,8 @@ class TemplateURL { |
| NORMAL_CONTROLLED_BY_EXTENSION, |
| // The keyword associated with an extension that uses the Omnibox API. |
| OMNIBOX_API_EXTENSION, |
| + // Installed only on this device. Should not be sync'd. |
|
Peter Kasting
2016/09/19 21:06:23
Nit: synced
Ian Wen
2016/09/20 04:48:03
Done.
|
| + LOCAL, |
| }; |
| // An AssociatedExtensionInfo represents information about the extension that |
| @@ -640,6 +642,8 @@ class TemplateURL { |
| Type GetType() const; |
| + void SetType(Type type); |
| + |
| // Returns the id of the extension that added this search engine. Only call |
| // this for TemplateURLs of type NORMAL_CONTROLLED_BY_EXTENSION or |
| // OMNIBOX_API_EXTENSION. |
| @@ -758,6 +762,8 @@ class TemplateURL { |
| // Caches the computed engine type across successive calls to GetEngineType(). |
| mutable SearchEngineType engine_type_; |
| + Type type_; |
|
Peter Kasting
2016/09/19 21:06:23
If you're going to elevate the "type" concept to n
Ian Wen
2016/09/20 04:48:03
In one case about omnibox extension I do need to c
|
| + |
| // TODO(sky): Add date last parsed OSD file. |
| DISALLOW_COPY_AND_ASSIGN(TemplateURL); |