Index: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h |
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h |
index 1f20df68ff448e2274f16e46c61d2985d09dd854..0f8b472bdc4dc709e6dbb930b9b895ef58d2d63c 100644 |
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h |
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.h |
@@ -80,23 +80,6 @@ class CoreOobeHandler : public BaseScreenHandler, |
void UpdateShutdownAndRebootVisibility(bool reboot_on_shutdown); |
private: |
- // Calls javascript method. |
- // |
- // Note that the Args template parameter pack should consist of types |
- // convertible to base::Value. |
- template <typename... Args> |
- void ExecuteDeferredJSCall(const std::string& function_name, |
- std::unique_ptr<Args>... args); |
- |
- // Calls javascript method if the instance is already initialized, or defers |
- // the call until it gets initialized. |
- template <typename... Args> |
- void CallJSOrDefer(const std::string& function_name, const Args&... args); |
- |
- // Executes javascript calls that were deferred while the instance was not |
- // initialized yet. |
- void ExecuteDeferredJSCalls(); |
- |
// CoreOobeActor implementation: |
void ShowSignInError(int login_attempts, |
const std::string& error_text, |
@@ -168,16 +151,6 @@ class CoreOobeHandler : public BaseScreenHandler, |
void OnAccessibilityStatusChanged( |
const AccessibilityStatusEventDetails& details); |
- // Whether the instance is initialized. |
- // |
- // The instance becomes initialized after the corresponding message is |
- // received from javascript side. |
- bool is_initialized_ = false; |
- |
- // Javascript calls that have been deferred while the instance was not |
- // initialized yet. |
- std::vector<base::Closure> deferred_js_calls_; |
- |
// Owner of this handler. |
OobeUI* oobe_ui_ = nullptr; |