Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: chrome/browser/webdata/web_intents_table.h

Issue 9370043: Add default intents methods for web data service. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698