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

Unified Diff: content/test/plugin/plugin_thread_async_call_test.h

Issue 1182303010: Delete the NPAPI plugin browsertests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 6 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 | « content/test/plugin/plugin_test_factory.cc ('k') | content/test/plugin/plugin_thread_async_call_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/plugin/plugin_thread_async_call_test.h
diff --git a/content/test/plugin/plugin_thread_async_call_test.h b/content/test/plugin/plugin_thread_async_call_test.h
deleted file mode 100644
index 06c13f5dfe3ebeb5f46694d2ac7571d36f4c97af..0000000000000000000000000000000000000000
--- a/content/test/plugin/plugin_thread_async_call_test.h
+++ /dev/null
@@ -1,44 +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 CONTENT_TEST_PLUGIN_PLUGIN_THREAD_ASYNC_CALL_TEST_H_
-#define CONTENT_TEST_PLUGIN_PLUGIN_THREAD_ASYNC_CALL_TEST_H_
-
-#include "content/test/plugin/plugin_test.h"
-
-namespace base {
-class ShadowingAtExitManager;
-}
-
-namespace NPAPIClient {
-
-// This class tests scheduling and unscheduling of async callbacks using
-// NPN_PluginThreadAsyncCall.
-class PluginThreadAsyncCallTest : public PluginTest {
- public:
- PluginThreadAsyncCallTest(NPP id, NPNetscapeFuncs *host_functions);
- ~PluginThreadAsyncCallTest() override;
-
- NPError New(uint16 mode,
- int16 argc,
- const char* argn[],
- const char* argv[],
- NPSavedData* saved) override;
-
- NPError Destroy() override;
-
- void AsyncCall();
- void OnCallSucceeded();
- void OnCallCompleted();
-
- private:
- // base::Thread needs one of these.
- base::ShadowingAtExitManager* at_exit_manager_;
-
- DISALLOW_COPY_AND_ASSIGN(PluginThreadAsyncCallTest);
-};
-
-} // namespace NPAPIClient
-
-#endif // CONTENT_TEST_PLUGIN_PLUGIN_THREAD_ASYNC_CALL_TEST_H_
« no previous file with comments | « content/test/plugin/plugin_test_factory.cc ('k') | content/test/plugin/plugin_thread_async_call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698