// Licensed to the Software Freedom Conservancy (SFC) under one1// or more contributor license agreements. See the NOTICE file2// distributed with this work for additional information3// regarding copyright ownership. The SFC licenses this file4// to you under the Apache License, Version 2.0 (the "License");5// you may not use this file except in compliance with the License.6// You may obtain a copy of the License at7//8// http://www.apache.org/licenses/LICENSE-2.09//10// Unless required by applicable law or agreed to in writing, software11// distributed under the License is distributed on an "AS IS" BASIS,12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13// See the License for the specific language governing permissions and14// limitations under the License.1516#ifndef WEBDRIVER_IE_IESESSION_H_17#define WEBDRIVER_IE_IESESSION_H_1819#include "session.h"2021namespace webdriver {2223// Structure to be used for storing session initialization parameters24struct SessionParameters {25int port;26};2728class IESession : public Session {29public:30IESession();31virtual ~IESession(void);3233void Initialize(void* init_params);34void ShutDown(void);35bool ExecuteCommand(const std::string& serialized_command,36std::string* serialized_response);3738private:39bool WaitForCommandExecutorExit(int timeout_in_milliseconds);40HWND executor_window_handle_;41};4243} // namespace webdriver4445#endif // WEBDRIVER_IE_IESESSION_H_46474849