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_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ |
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/string16.h" | 11 #include "base/string16.h" |
13 | 12 |
14 class Profile; | 13 class Profile; |
15 class TemplateURL; | 14 class TemplateURL; |
16 class TemplateURLService; | 15 class TemplateURLService; |
17 | 16 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void DeleteSearchEngineBySeed(int profile_index, int seed); | 61 void DeleteSearchEngineBySeed(int profile_index, int seed); |
63 | 62 |
64 // Change the search engine generated with |seed| in service at index | 63 // Change the search engine generated with |seed| in service at index |
65 // |profile_index| to be the new default. Does the same to the verifier, if it | 64 // |profile_index| to be the new default. Does the same to the verifier, if it |
66 // is used. | 65 // is used. |
67 void ChangeDefaultSearchProvider(int profile_index, int seed); | 66 void ChangeDefaultSearchProvider(int profile_index, int seed); |
68 | 67 |
69 } // namespace search_engines_helper | 68 } // namespace search_engines_helper |
70 | 69 |
71 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ | 70 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEARCH_ENGINES_HELPER_H_ |
OLD | NEW |