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

Unified Diff: plugins/update/module.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
« no previous file with comments | « plugins/update/generate_plugin_idls.py ('k') | plugins/update/module.def » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugins/update/module.cc
diff --git a/plugins/update/module.cc b/plugins/update/module.cc
deleted file mode 100644
index f52e0a6fe9a034eabe52dfa4673d36cb1f70109b..0000000000000000000000000000000000000000
--- a/plugins/update/module.cc
+++ /dev/null
@@ -1,72 +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 <atlbase.h>
-#include "base/basictypes.h"
-#include "omaha/base/omaha_version.h"
-#include "goopdate/omaha3_idl.h"
-#include "omaha/plugins/update/activex/update3web_control.h"
-#include "omaha/plugins/update/activex/oneclick_control.h"
-#include "plugins/update/activex/update_control_idl.h"
-
-namespace omaha {
-
-OBJECT_ENTRY_AUTO(__uuidof(GoogleUpdateOneClickControlCoClass), OneClickControl)
-OBJECT_ENTRY_AUTO(__uuidof(GoogleUpdate3WebControlCoClass), Update3WebControl)
-
-namespace {
-
-class GoogleUpdateControlModule
- : public CAtlDllModuleT<GoogleUpdateControlModule> {
- public:
- GoogleUpdateControlModule() {}
-
- DECLARE_LIBID(LIBID_GoogleUpdateControlLib);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(GoogleUpdateControlModule); // NOLINT
-} _AtlModule;
-
-} // namespace
-
-} // namespace omaha
-
-BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) {
- switch (reason) {
- case DLL_PROCESS_ATTACH:
- omaha::InitializeVersionFromModule(instance);
- break;
- default:
- break;
- }
-
- return omaha::_AtlModule.DllMain(reason, reserved);
-}
-
-STDAPI DllCanUnloadNow() {
- return omaha::_AtlModule.DllCanUnloadNow();
-}
-
-STDAPI DllGetClassObject(REFCLSID clsid, REFIID iid, void** ppv) {
- return omaha::_AtlModule.DllGetClassObject(clsid, iid, ppv);
-}
-
-STDAPI DllRegisterServer() {
- return omaha::_AtlModule.DllRegisterServer(false);
-}
-
-STDAPI DllUnregisterServer() {
- return omaha::_AtlModule.DllUnregisterServer(false);
-}
« no previous file with comments | « plugins/update/generate_plugin_idls.py ('k') | plugins/update/module.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698