| OLD | NEW |
| (Empty) |
| 1 // Copyright 2009 Google Inc. | |
| 2 // | |
| 3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
| 4 // you may not use this file except in compliance with the License. | |
| 5 // You may obtain a copy of the License at | |
| 6 // | |
| 7 // http://www.apache.org/licenses/LICENSE-2.0 | |
| 8 // | |
| 9 // Unless required by applicable law or agreed to in writing, software | |
| 10 // distributed under the License is distributed on an "AS IS" BASIS, | |
| 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| 12 // See the License for the specific language governing permissions and | |
| 13 // limitations under the License. | |
| 14 // ======================================================================== | |
| 15 | |
| 16 #ifndef OMAHA_PLUGINS_UPDATE_CONFIG_H_ | |
| 17 #define OMAHA_PLUGINS_UPDATE_CONFIG_H_ | |
| 18 | |
| 19 #include <windows.h> | |
| 20 | |
| 21 namespace omaha { | |
| 22 | |
| 23 // TODO(omaha3): The OneClick MIME type is currently defined one other place in | |
| 24 // the codebase, in base\const_config.h. I'm putting our own definition here; | |
| 25 // we should probably delete the copy in base, and potentially moving this file | |
| 26 // to base as plugin_constants.h. | |
| 27 // | |
| 28 // Note that COMPANY_DOMAIN_BASE_ANSI and *_PLUGIN_VERSION_ANSI are defined | |
| 29 // in omaha\main.scons. | |
| 30 | |
| 31 #define UPDATE3WEB_MIME_TYPE "application/x-vnd." COMPANY_DOMAIN_BASE_ANSI \ | |
| 32 ".update3webcontrol." UPDATE_PLUGIN_VERSION_ANSI | |
| 33 | |
| 34 #define ONECLICK_MIME_TYPE "application/x-vnd." COMPANY_DOMAIN_BASE_ANSI \ | |
| 35 ".oneclickctrl." ONECLICK_PLUGIN_VERSION_ANSI | |
| 36 | |
| 37 #define MERGED_MIME_TYPE UPDATE3WEB_MIME_TYPE "|" ONECLICK_MIME_TYPE | |
| 38 | |
| 39 extern const TCHAR kUpdate3WebPluginVersion[]; | |
| 40 extern const TCHAR kUpdate3WebControlProgId[]; | |
| 41 | |
| 42 extern const TCHAR kOneclickPluginVersion[]; | |
| 43 extern const TCHAR kOneclickControlProgId[]; | |
| 44 | |
| 45 } // namespace omaha | |
| 46 | |
| 47 #endif // OMAHA_PLUGINS_UPDATE_CONFIG_H_ | |
| OLD | NEW |