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

Unified Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc

Issue 10977073: Delete some unused code found by -Wunused-function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tweak, rebase Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
index 8fa1fbf5e44cebbd9d93b4a55aa83e94aafd13ed..82db698ac1e6a7bb3296bba314f76bd802446591 100644
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.cc
@@ -103,16 +103,6 @@ const char kUserCancelledError[] = "User cancelled install";
ProfileSyncService* test_sync_service = NULL;
Lei Zhang 2012/09/28 18:41:24 delete
Nico 2012/09/29 11:08:40 Done.
-// Returns either the test sync service, or the real one from |profile|.
-ProfileSyncService* GetSyncService(Profile* profile) {
- // TODO(webstore): It seems |test_sync_service| is not used anywhere. It
- // should be removed.
- if (test_sync_service)
- return test_sync_service;
- else
- return ProfileSyncServiceFactory::GetInstance()->GetForProfile(profile);
-}
-
// Helper to create a dictionary with login and token properties set from
// the appropriate values in the passed-in |profile|.
DictionaryValue* CreateLoginResult(Profile* profile) {

Powered by Google App Engine
This is Rietveld 408576698