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

Unified Diff: plugins/update/npapi/testing/dispatch_host_test_interface.cc

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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
Index: plugins/update/npapi/testing/dispatch_host_test_interface.cc
diff --git a/plugins/update/npapi/testing/dispatch_host_test_interface.cc b/plugins/update/npapi/testing/dispatch_host_test_interface.cc
deleted file mode 100644
index 07608093f3c5b746ab80e8bde9863e6a77600a73..0000000000000000000000000000000000000000
--- a/plugins/update/npapi/testing/dispatch_host_test_interface.cc
+++ /dev/null
@@ -1,66 +0,0 @@
-// Copyright 2009 Google Inc.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-// ========================================================================
-
-#include "omaha/plugins/update/npapi/testing/dispatch_host_test_interface.h"
-
-namespace omaha {
-
-STDMETHODIMP DispatchHostTestInterface::Random(INT* x) {
- *x = 42;
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface::get_Property(INT* x) {
- *x = 0xdeadbeef;
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface::put_Property(INT x) {
- UNREFERENCED_PARAMETER(x);
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface::get_ReadOnlyProperty(INT* x) {
- *x = 19700101;
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface::put_WriteOnlyProperty(INT x) {
- UNREFERENCED_PARAMETER(x);
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface::AddAsMethod(INT a, INT b, INT* c) {
- *c = a + b;
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface::get_AddAsProperty(
- INT a, INT b, INT* c) {
- *c = a + b;
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface::DidYouMeanRecursion(IDispatch** me) {
- *me = this;
- return S_OK;
-}
-
-STDMETHODIMP DispatchHostTestInterface2::get_Get(INT index, INT* x) {
- *x = index << 1;
- return S_OK;
-}
-
-} // namespace omaha
« no previous file with comments | « plugins/update/npapi/testing/dispatch_host_test_interface.h ('k') | plugins/update/npapi/testing/resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698