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

Unified Diff: chrome/browser/sync/internal_api/http_post_provider_factory.h

Issue 10147003: [Sync] Move 'syncapi_core' and 'sync_unit_tests' targets to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win update errors Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/internal_api/http_post_provider_factory.h
diff --git a/chrome/browser/sync/internal_api/http_post_provider_factory.h b/chrome/browser/sync/internal_api/http_post_provider_factory.h
deleted file mode 100644
index 214d0649578ea32d4bb7a1bfc62cadd8e021251f..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/internal_api/http_post_provider_factory.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SYNC_INTERNAL_API_HTTP_POST_PROVIDER_FACTORY_H_
-#define CHROME_BROWSER_SYNC_INTERNAL_API_HTTP_POST_PROVIDER_FACTORY_H_
-#pragma once
-
-namespace sync_api {
-
-class HttpPostProviderInterface;
-
-// A factory to create HttpPostProviders to hide details about the
-// implementations and dependencies.
-// A factory instance itself should be owned by whomever uses it to create
-// HttpPostProviders.
-class HttpPostProviderFactory {
- public:
- virtual ~HttpPostProviderFactory() {}
-
- // Obtain a new HttpPostProviderInterface instance, owned by caller.
- virtual HttpPostProviderInterface* Create() = 0;
-
- // When the interface is no longer needed (ready to be cleaned up), clients
- // must call Destroy().
- // This allows actual HttpPostProvider subclass implementations to be
- // reference counted, which is useful if a particular implementation uses
- // multiple threads to serve network requests.
- virtual void Destroy(HttpPostProviderInterface* http) = 0;
-};
-
-} // namespace sync_api
-
-#endif // CHROME_BROWSER_SYNC_INTERNAL_API_HTTP_POST_PROVIDER_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698