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

Side by Side Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 21015010: Remove all traces of deprecated Get/SetReleaseTrack calls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/automation/testing_automation_provider.h" 5 #include "chrome/browser/automation/testing_automation_provider.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1782 &TestingAutomationProvider::DisconnectFromPrivateNetwork; 1782 &TestingAutomationProvider::DisconnectFromPrivateNetwork;
1783 1783
1784 handler_map_["EnableSpokenFeedback"] = 1784 handler_map_["EnableSpokenFeedback"] =
1785 &TestingAutomationProvider::EnableSpokenFeedback; 1785 &TestingAutomationProvider::EnableSpokenFeedback;
1786 handler_map_["IsSpokenFeedbackEnabled"] = 1786 handler_map_["IsSpokenFeedbackEnabled"] =
1787 &TestingAutomationProvider::IsSpokenFeedbackEnabled; 1787 &TestingAutomationProvider::IsSpokenFeedbackEnabled;
1788 1788
1789 handler_map_["GetTimeInfo"] = &TestingAutomationProvider::GetTimeInfo; 1789 handler_map_["GetTimeInfo"] = &TestingAutomationProvider::GetTimeInfo;
1790 handler_map_["SetTimezone"] = &TestingAutomationProvider::SetTimezone; 1790 handler_map_["SetTimezone"] = &TestingAutomationProvider::SetTimezone;
1791 1791
1792 handler_map_["GetUpdateInfo"] = &TestingAutomationProvider::GetUpdateInfo;
1793 handler_map_["UpdateCheck"] = &TestingAutomationProvider::UpdateCheck; 1792 handler_map_["UpdateCheck"] = &TestingAutomationProvider::UpdateCheck;
1794 handler_map_["SetReleaseTrack"] =
1795 &TestingAutomationProvider::SetReleaseTrack;
1796 1793
1797 handler_map_["GetVolumeInfo"] = &TestingAutomationProvider::GetVolumeInfo; 1794 handler_map_["GetVolumeInfo"] = &TestingAutomationProvider::GetVolumeInfo;
1798 handler_map_["SetVolume"] = &TestingAutomationProvider::SetVolume; 1795 handler_map_["SetVolume"] = &TestingAutomationProvider::SetVolume;
1799 handler_map_["SetMute"] = &TestingAutomationProvider::SetMute; 1796 handler_map_["SetMute"] = &TestingAutomationProvider::SetMute;
1800 1797
1801 handler_map_["OpenCrosh"] = &TestingAutomationProvider::OpenCrosh; 1798 handler_map_["OpenCrosh"] = &TestingAutomationProvider::OpenCrosh;
1802 handler_map_["SetProxySettings"] = 1799 handler_map_["SetProxySettings"] =
1803 &TestingAutomationProvider::SetProxySettings; 1800 &TestingAutomationProvider::SetProxySettings;
1804 handler_map_["SetSharedProxies"] = 1801 handler_map_["SetSharedProxies"] =
1805 &TestingAutomationProvider::SetSharedProxies; 1802 &TestingAutomationProvider::SetSharedProxies;
(...skipping 3769 matching lines...) Expand 10 before | Expand all | Expand 10 after
5575 if (g_browser_process) 5572 if (g_browser_process)
5576 g_browser_process->GetAutomationProviderList()->RemoveProvider(this); 5573 g_browser_process->GetAutomationProviderList()->RemoveProvider(this);
5577 } 5574 }
5578 5575
5579 void TestingAutomationProvider::EnsureTabSelected(Browser* browser, 5576 void TestingAutomationProvider::EnsureTabSelected(Browser* browser,
5580 WebContents* tab) { 5577 WebContents* tab) {
5581 TabStripModel* tab_strip = browser->tab_strip_model(); 5578 TabStripModel* tab_strip = browser->tab_strip_model();
5582 if (tab_strip->GetActiveWebContents() != tab) 5579 if (tab_strip->GetActiveWebContents() != tab)
5583 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true); 5580 tab_strip->ActivateTabAt(tab_strip->GetIndexOfWebContents(tab), true);
5584 } 5581 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698