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

Unified Diff: chrome/browser/automation/testing_automation_provider.h

Issue 11971025: [sync] Divorce python sync test server chromiumsync.py from testserver.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cleanup of dead pyauto code. Created 7 years, 11 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/automation/testing_automation_provider.h
diff --git a/chrome/browser/automation/testing_automation_provider.h b/chrome/browser/automation/testing_automation_provider.h
index 6035e0101d3f27d3d7790f12792e318165be3ba6..015479035cfaf0cb8d28c69f9ec486ce5d9c878d 100644
--- a/chrome/browser/automation/testing_automation_provider.h
+++ b/chrome/browser/automation/testing_automation_provider.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 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.
@@ -18,7 +18,6 @@
#include "chrome/browser/automation/automation_provider_json.h"
#include "chrome/browser/history/history.h"
#include "chrome/browser/importer/importer_list_observer.h"
-#include "chrome/browser/sync/profile_sync_service_harness.h"
#include "chrome/browser/ui/browser_list_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/common/page_type.h"
@@ -565,42 +564,6 @@ class TestingAutomationProvider : public AutomationProvider,
void IsFindInPageVisible(base::DictionaryValue* args,
IPC::Message* reply_message);
- // Signs in to sync using the given username and password.
- // Uses the JSON interface for input/output.
- void SignInToSync(Browser* browser,
- base::DictionaryValue* args,
- IPC::Message* reply_message);
-
- // Returns info about sync.
- // Uses the JSON interface for input/output.
- void GetSyncInfo(Browser* browser,
- base::DictionaryValue* args,
- IPC::Message* reply_message);
-
- // Waits for the ongoing sync cycle to complete.
- // Uses the JSON interface for input/output.
- void AwaitFullSyncCompletion(Browser* browser,
- base::DictionaryValue* args,
- IPC::Message* reply_message);
-
- // Waits for sync to reinitialize (for example, after a browser restart).
- // Uses the JSON interface for input/output.
- void AwaitSyncRestart(Browser* browser,
- base::DictionaryValue* args,
- IPC::Message* reply_message);
-
- // Enables sync for one or more sync datatypes.
- // Uses the JSON interface for input/output.
- void EnableSyncForDatatypes(Browser* browser,
- base::DictionaryValue* args,
- IPC::Message* reply_message);
-
- // Disables sync for one or more sync datatypes.
- // Uses the JSON interface for input/output.
- void DisableSyncForDatatypes(Browser* browser,
- base::DictionaryValue* args,
- IPC::Message* reply_message);
-
// Get ordered list of all active and queued HTML5 notifications.
// Uses the JSON interface for input/output.
void GetAllNotifications(Browser* browser,
@@ -1559,9 +1522,6 @@ class TestingAutomationProvider : public AutomationProvider,
std::map<std::string, JsonHandler> handler_map_;
std::map<std::string, BrowserJsonHandler> browser_handler_map_;
- // Used to wait on various browser sync events.
- scoped_ptr<ProfileSyncServiceHarness> sync_waiter_;
-
content::NotificationRegistrar registrar_;
// Used to enumerate browser profiles.

Powered by Google App Engine
This is Rietveld 408576698