| 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_WEBDATA_WEB_INTENTS_TABLE_H_ | 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ |
| 6 #define CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ | 6 #define CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 std::vector<DefaultWebIntentService>* default_services); | 87 std::vector<DefaultWebIntentService>* default_services); |
| 88 | 88 |
| 89 // Get a list of all installed default services. | 89 // Get a list of all installed default services. |
| 90 bool GetAllDefaultServices( | 90 bool GetAllDefaultServices( |
| 91 std::vector<DefaultWebIntentService>* default_services); | 91 std::vector<DefaultWebIntentService>* default_services); |
| 92 | 92 |
| 93 // Set a default service to be used on given intent invocations. | 93 // Set a default service to be used on given intent invocations. |
| 94 bool SetDefaultService(const DefaultWebIntentService& default_service); | 94 bool SetDefaultService(const DefaultWebIntentService& default_service); |
| 95 | 95 |
| 96 // Removes a default |service| from table - must match the action, type, | 96 // Removes a default |service| from table - must match the action, type, |
| 97 // and url_prefix parameters exactly. | 97 // and url_pattern parameters exactly. |
| 98 bool RemoveDefaultService(const DefaultWebIntentService& default_service); | 98 bool RemoveDefaultService(const DefaultWebIntentService& default_service); |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable); | 101 DISALLOW_COPY_AND_ASSIGN(WebIntentsTable); |
| 102 }; | 102 }; |
| 103 | 103 |
| 104 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ | 104 #endif // CHROME_BROWSER_WEBDATA_WEB_INTENTS_TABLE_H_ |
| OLD | NEW |