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

Unified Diff: chrome/test/chrome_plugin/test_chrome_plugin.h

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/chrome_plugin/test_chrome_plugin.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chrome_plugin/test_chrome_plugin.h
diff --git a/chrome/test/chrome_plugin/test_chrome_plugin.h b/chrome/test/chrome_plugin/test_chrome_plugin.h
deleted file mode 100644
index 19d33109ff87fdcd76ddfea6c8106eae6530a10d..0000000000000000000000000000000000000000
--- a/chrome/test/chrome_plugin/test_chrome_plugin.h
+++ /dev/null
@@ -1,71 +0,0 @@
-// Copyright (c) 2006-2008 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.
-// Shared by the plugin DLL and the unittest code.
-
-#ifndef CHROME_TEST_CHROME_PLUGIN_TEST_CHROME_PLUGIN_H__
-#define CHROME_TEST_CHROME_PLUGIN_TEST_CHROME_PLUGIN_H__
-#pragma once
-
-#include <string>
-
-#include "base/basictypes.h"
-#include "chrome/common/chrome_plugin_api.h"
-
-class GURL;
-
-struct TestResponsePayload {
- const char* url;
- bool async;
- int status;
- const char* mime_type;
- const char* body;
-};
-
-const char kChromeTestPluginProtocol[] = "cptest";
-
-const TestResponsePayload kChromeTestPluginPayloads[] = {
- {
- "cptest:sync",
- false,
- 200,
- "text/html",
- "<head><title>cptest:sync</title></head><body>SUCCESS</body>"
- },
- {
- "cptest:async",
- true,
- 200,
- "text/plain",
- "<head><title>cptest:async</title></head><body>SUCCESS</body>"
- },
- {
- "cptest:blank",
- false,
- 200,
- "text/plain",
- ""
- },
-};
-
-struct TestFuncParams {
- typedef void (STDCALL *CallbackFunc)(void* data);
-
- struct PluginFuncs {
- int (STDCALL *test_make_request)(const char* method, const GURL& url);
- };
- PluginFuncs pfuncs;
-
- struct BrowserFuncs {
- void (STDCALL *test_complete)(CPRequest* request, bool success,
- const std::string& raw_headers,
- const std::string& body);
- void (STDCALL *invoke_later)(CallbackFunc callback, void* callback_data,
- int delay_ms);
- };
- BrowserFuncs bfuncs;
-};
-
-const char kChromeTestPluginPostData[] = "Test Data";
-
-#endif // CHROME_TEST_CHROME_PLUGIN_TEST_CHROME_PLUGIN_H__
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/chrome_plugin/test_chrome_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698