Index: chrome_frame/custom_sync_call_context.h |
diff --git a/chrome_frame/custom_sync_call_context.h b/chrome_frame/custom_sync_call_context.h |
deleted file mode 100644 |
index 0d9ff53809e6256d7d022d0c06e7067c55945582..0000000000000000000000000000000000000000 |
--- a/chrome_frame/custom_sync_call_context.h |
+++ /dev/null |
@@ -1,47 +0,0 @@ |
-// Copyright (c) 2011 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. |
- |
-#ifndef CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ |
-#define CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ |
- |
-#include <vector> |
- |
-#include "base/memory/ref_counted.h" |
-#include "base/synchronization/waitable_event.h" |
-#include "base/tuple.h" |
-#include "chrome_frame/sync_msg_reply_dispatcher.h" |
-#include "chrome_frame/chrome_frame_automation.h" |
-#include "ipc/ipc_sync_message.h" |
- |
-// This class maintains context information for the BeginNavigate operations |
-// pertaining to the external tab. |
-class BeginNavigateContext |
- : public SyncMessageReplyDispatcher::SyncMessageCallContext { |
- public: |
- explicit BeginNavigateContext(ChromeFrameAutomationClient* client); |
- |
- typedef Tuple1<AutomationMsg_NavigationResponseValues> output_type; |
- |
- void Completed(AutomationMsg_NavigationResponseValues response); |
- |
- private: |
- scoped_refptr<ChromeFrameAutomationClient> client_; |
-}; |
- |
-// Class that maintains contextual information for the unload operation, i.e. |
-// when the user attempts to navigate away from a page rendered in ChromeFrame. |
-class UnloadContext |
- : public SyncMessageReplyDispatcher::SyncMessageCallContext { |
- public: |
- typedef Tuple1<bool> output_type; |
- UnloadContext(base::WaitableEvent* unload_done, bool* should_unload); |
- |
- void Completed(bool should_unload); |
- |
- private: |
- base::WaitableEvent* unload_done_; |
- bool* should_unload_; |
-}; |
- |
-#endif // CHROME_FRAME_CUSTOM_SYNC_CALL_CONTEXT_H_ |