| OLD | NEW |
| (Empty) |
| 1 // Copyright 2003-2010 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_BASE_CONST_CONFIG_H_ | |
| 17 #define OMAHA_BASE_CONST_CONFIG_H_ | |
| 18 | |
| 19 #include "omaha/base/constants.h" | |
| 20 | |
| 21 namespace omaha { | |
| 22 | |
| 23 // TODO(omaha): Move these values used by debug.cc someplace else. | |
| 24 #define kRegKeyShared _T("Shared") | |
| 25 #define kCiRegKeyShared GOOPDATE_MAIN_KEY kRegKeyShared | |
| 26 #define kRegValueReportIds _T("report_ids") | |
| 27 | |
| 28 // TODO(omaha): Move these plugin values someplace else. Since we're building | |
| 29 // constants, that should probably be the customization header. Move the Omaha 3 | |
| 30 // plugin equivalents from config.cc there as well. | |
| 31 | |
| 32 // NOTE: ONECLICK_PLUGIN_VERSION_ANSI is defined in main.scons | |
| 33 // For example: kOneClickProgId == "Google.OneClickCtrl.1" | |
| 34 const TCHAR* const kOneClickProgId = COMPANY_NAME_IDENTIFIER | |
| 35 _T(".OneClickCtrl.") | |
| 36 _T(ONECLICK_PLUGIN_VERSION_ANSI); | |
| 37 // The plug-in MIME type. | |
| 38 // For example: | |
| 39 // kOneClickPluginMimeTypeAnsi == "application/x-vnd.google.oneclickctrl.1" | |
| 40 // TODO(omaha): Deal with the "Google.OneClickCtrl.%d") in | |
| 41 // tools\goopdump\data_dumper_oneclick.cc after integrating goopdump. | |
| 42 #define kOneClickPluginMimeTypeAnsi \ | |
| 43 "application/x-vnd." COMPANY_DOMAIN_BASE_ANSI ".oneclickctrl." \ | |
| 44 ONECLICK_PLUGIN_VERSION_ANSI | |
| 45 | |
| 46 } // namespace omaha | |
| 47 | |
| 48 #endif // OMAHA_BASE_CONST_CONFIG_H_ | |
| OLD | NEW |