Commit ee838d0e authored by noamsml@google.com's avatar noamsml@google.com

Adding virtual destructor to CloudPrintURLFetcherFactory

Adding empty virtual destructor to CloudPrintURLFetcherFactory
to align it with Chromium coding style.

BUG=


Review URL: https://chromiumcodereview.appspot.com/12230020

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@182332 0039d316-1c4b-4281-b951-d872f2087c98
parent 2d188d39
...@@ -22,6 +22,9 @@ namespace cloud_print { ...@@ -22,6 +22,9 @@ namespace cloud_print {
static CloudPrintURLFetcherFactory* g_factory = NULL; static CloudPrintURLFetcherFactory* g_factory = NULL;
// virtual
CloudPrintURLFetcherFactory::~CloudPrintURLFetcherFactory() {}
// static // static
CloudPrintURLFetcher* CloudPrintURLFetcher::Create() { CloudPrintURLFetcher* CloudPrintURLFetcher::Create() {
CloudPrintURLFetcherFactory* factory = CloudPrintURLFetcher::factory(); CloudPrintURLFetcherFactory* factory = CloudPrintURLFetcher::factory();
......
...@@ -30,6 +30,7 @@ class CloudPrintURLFetcher; ...@@ -30,6 +30,7 @@ class CloudPrintURLFetcher;
class CloudPrintURLFetcherFactory { class CloudPrintURLFetcherFactory {
public: public:
virtual CloudPrintURLFetcher* CreateCloudPrintURLFetcher() = 0; virtual CloudPrintURLFetcher* CreateCloudPrintURLFetcher() = 0;
virtual ~CloudPrintURLFetcherFactory();
}; };
// A wrapper around URLFetcher for CloudPrint. URLFetcher applies retry logic // A wrapper around URLFetcher for CloudPrint. URLFetcher applies retry logic
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment