| OLD | NEW | 
|    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 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ |    5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ | 
|    6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ |    6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ | 
|    7  |    7  | 
|    8 #include <list> |    8 #include <list> | 
|    9 #include <map> |    9 #include <map> | 
|   10 #include <set> |   10 #include <set> | 
|   11 #include <string> |   11 #include <string> | 
|   12 #include <vector> |   12 #include <vector> | 
|   13  |   13  | 
|   14 #include "base/gtest_prod_util.h" |   14 #include "base/gtest_prod_util.h" | 
|   15 #include "base/memory/scoped_ptr.h" |   15 #include "base/memory/scoped_ptr.h" | 
|   16 #include "base/observer_list.h" |   16 #include "base/observer_list.h" | 
|   17 #include "chrome/browser/prefs/pref_change_registrar.h" |   17 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 
|   18 #include "chrome/browser/profiles/profile_keyed_service.h" |   18 #include "chrome/browser/profiles/profile_keyed_service.h" | 
|   19 #include "chrome/browser/search_engines/template_url_id.h" |   19 #include "chrome/browser/search_engines/template_url_id.h" | 
|   20 #include "chrome/browser/webdata/web_data_service.h" |   20 #include "chrome/browser/webdata/web_data_service.h" | 
|   21 #include "content/public/browser/notification_observer.h" |   21 #include "content/public/browser/notification_observer.h" | 
|   22 #include "content/public/browser/notification_registrar.h" |   22 #include "content/public/browser/notification_registrar.h" | 
|   23 #include "sync/api/sync_change.h" |   23 #include "sync/api/sync_change.h" | 
|   24 #include "sync/api/syncable_service.h" |   24 #include "sync/api/syncable_service.h" | 
|   25  |   25  | 
|   26 class GURL; |   26 class GURL; | 
|   27 class PrefService; |   27 class PrefService; | 
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  671  |  671  | 
|  672   // This is used to log the origin of changes to the default search provider. |  672   // This is used to log the origin of changes to the default search provider. | 
|  673   // We set this value to increasingly specific values when we know what is the |  673   // We set this value to increasingly specific values when we know what is the | 
|  674   // cause/origin of a default search change. |  674   // cause/origin of a default search change. | 
|  675   DefaultSearchChangeOrigin dsp_change_origin_; |  675   DefaultSearchChangeOrigin dsp_change_origin_; | 
|  676  |  676  | 
|  677   DISALLOW_COPY_AND_ASSIGN(TemplateURLService); |  677   DISALLOW_COPY_AND_ASSIGN(TemplateURLService); | 
|  678 }; |  678 }; | 
|  679  |  679  | 
|  680 #endif  // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ |  680 #endif  // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_H_ | 
| OLD | NEW |