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 cae0b8a63c77879c94cfb1afa1f5160dd63331c6..cdb41218a10efd5313189d402edef9d7285c17f9 100644 |
--- a/chrome/browser/automation/testing_automation_provider.h |
+++ b/chrome/browser/automation/testing_automation_provider.h |
@@ -492,6 +492,7 @@ class TestingAutomationProvider : public AutomationProvider, |
base::DictionaryValue* args, |
IPC::Message* reply_message); |
+#if defined(ENABLE_PROTECTOR_SERVICE) |
// Get ProtectorService state. |
// Uses the JSON interface for input/output. |
void GetProtectorState(Browser* browser, |
@@ -503,6 +504,7 @@ class TestingAutomationProvider : public AutomationProvider, |
void PerformProtectorAction(Browser* browser, |
base::DictionaryValue* args, |
IPC::Message* reply_message); |
+#endif |
// Get info about preferences stored in Local State. |
// Uses the JSON interface for input/output. |