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

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

Issue 7930002: Rename WebIntentData for backend storage to WebIntentServiceData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix class/struct decl Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_DATA_SERVICE_H__ 5 #ifndef CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ 6 #define CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 11 matching lines...) Expand all
22 class CreditCard; 22 class CreditCard;
23 class GURL; 23 class GURL;
24 #if defined(OS_WIN) 24 #if defined(OS_WIN)
25 struct IE7PasswordInfo; 25 struct IE7PasswordInfo;
26 #endif 26 #endif
27 class MessageLoop; 27 class MessageLoop;
28 class SkBitmap; 28 class SkBitmap;
29 class Task; 29 class Task;
30 class TemplateURL; 30 class TemplateURL;
31 class WebDatabase; 31 class WebDatabase;
32 struct WebIntentData; 32 struct WebIntentServiceData;
33 33
34 namespace base { 34 namespace base {
35 class Thread; 35 class Thread;
36 } 36 }
37 37
38 namespace webkit_glue { 38 namespace webkit_glue {
39 struct FormField; 39 struct FormField;
40 struct PasswordForm; 40 struct PasswordForm;
41 } 41 }
42 42
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // specified web app. 343 // specified web app.
344 Handle GetWebAppImages(const GURL& app_url, WebDataServiceConsumer* consumer); 344 Handle GetWebAppImages(const GURL& app_url, WebDataServiceConsumer* consumer);
345 345
346 ////////////////////////////////////////////////////////////////////////////// 346 //////////////////////////////////////////////////////////////////////////////
347 // 347 //
348 // Web Intents 348 // Web Intents
349 // 349 //
350 ////////////////////////////////////////////////////////////////////////////// 350 //////////////////////////////////////////////////////////////////////////////
351 351
352 // Adds a web intent provider registration. 352 // Adds a web intent provider registration.
353 void AddWebIntent(const WebIntentData& intent); 353 void AddWebIntent(const WebIntentServiceData& service);
354 354
355 // Removes a web intent provider registration. 355 // Removes a web intent provider registration.
356 void RemoveWebIntent(const WebIntentData& intent); 356 void RemoveWebIntent(const WebIntentServiceData& service);
357 357
358 // Get all web intent providers registered for the specified |action|. 358 // Get all web intent providers registered for the specified |action|.
359 // |consumer| must not be NULL. 359 // |consumer| must not be NULL.
360 Handle GetWebIntents(const string16& action, 360 Handle GetWebIntents(const string16& action,
361 WebDataServiceConsumer* consumer); 361 WebDataServiceConsumer* consumer);
362 362
363 // Get all web intent providers registered. |consumer| must not be NULL. 363 // Get all web intent providers registered. |consumer| must not be NULL.
364 Handle GetAllWebIntents(WebDataServiceConsumer* consumer); 364 Handle GetAllWebIntents(WebDataServiceConsumer* consumer);
365 365
366 ////////////////////////////////////////////////////////////////////////////// 366 //////////////////////////////////////////////////////////////////////////////
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 void SetWebAppImageImpl(GenericRequest2<GURL, SkBitmap>* request); 583 void SetWebAppImageImpl(GenericRequest2<GURL, SkBitmap>* request);
584 void SetWebAppHasAllImagesImpl(GenericRequest2<GURL, bool>* request); 584 void SetWebAppHasAllImagesImpl(GenericRequest2<GURL, bool>* request);
585 void RemoveWebAppImpl(GenericRequest<GURL>* request); 585 void RemoveWebAppImpl(GenericRequest<GURL>* request);
586 void GetWebAppImagesImpl(GenericRequest<GURL>* request); 586 void GetWebAppImagesImpl(GenericRequest<GURL>* request);
587 587
588 ////////////////////////////////////////////////////////////////////////////// 588 //////////////////////////////////////////////////////////////////////////////
589 // 589 //
590 // Web Intents. 590 // Web Intents.
591 // 591 //
592 ////////////////////////////////////////////////////////////////////////////// 592 //////////////////////////////////////////////////////////////////////////////
593 void AddWebIntentImpl(GenericRequest<WebIntentData>* request); 593 void AddWebIntentImpl(GenericRequest<WebIntentServiceData>* request);
594 void RemoveWebIntentImpl(GenericRequest<WebIntentData>* request); 594 void RemoveWebIntentImpl(GenericRequest<WebIntentServiceData>* request);
595 void GetWebIntentsImpl(GenericRequest<string16>* request); 595 void GetWebIntentsImpl(GenericRequest<string16>* request);
596 void GetAllWebIntentsImpl(GenericRequest<std::string>* request); 596 void GetAllWebIntentsImpl(GenericRequest<std::string>* request);
597 597
598 ////////////////////////////////////////////////////////////////////////////// 598 //////////////////////////////////////////////////////////////////////////////
599 // 599 //
600 // Token Service. 600 // Token Service.
601 // 601 //
602 ////////////////////////////////////////////////////////////////////////////// 602 //////////////////////////////////////////////////////////////////////////////
603 603
604 void RemoveAllTokensImpl(GenericRequest<std::string>* request); 604 void RemoveAllTokensImpl(GenericRequest<std::string>* request);
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
697 // result can be NULL, if no result is expected or if the database could 697 // result can be NULL, if no result is expected or if the database could
698 // not be opened. The result object is destroyed after this call. 698 // not be opened. The result object is destroyed after this call.
699 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, 699 virtual void OnWebDataServiceRequestDone(WebDataService::Handle h,
700 const WDTypedResult* result) = 0; 700 const WDTypedResult* result) = 0;
701 701
702 protected: 702 protected:
703 virtual ~WebDataServiceConsumer() {} 703 virtual ~WebDataServiceConsumer() {}
704 }; 704 };
705 705
706 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__ 706 #endif // CHROME_BROWSER_WEBDATA_WEB_DATA_SERVICE_H__
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/web_intents_settings_handler.cc ('k') | chrome/browser/webdata/web_data_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698