<commit_before>// Copyright (c) 2010 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.

#include "webkit/glue/plugins/plugin_group.h"

#include "base/linked_ptr.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "base/version.h"
#include "webkit/glue/plugins/plugin_list.h"
#include "webkit/glue/plugins/webplugininfo.h"

#if defined(OS_MACOSX)
// Plugin Groups for Mac.
// Plugins are listed here as soon as vulnerabilities and solutions
// (new versions) are published.
// TODO(panayiotis): Get the Real Player version on Mac, somehow.
static const PluginGroupDefinition kGroupDefinitions[] = {
  { "apple-quicktime", "Quicktime", "QuickTime Plug-in", "", "", "7.6.6",
    "http://www.apple.com/quicktime/download/" },
  { "java-runtime-environment", "Java", "Java", "", "", "",
    "http://support.apple.com/kb/HT1338" },
  { "adobe-flash-player", "Flash", "Shockwave Flash", "", "", "10.1.82",
    "http://get.adobe.com/flashplayer/" },
  { "silverlight-3", "Silverlight 3", "Silverlight", "0", "4", "3.0.50106.0",
    "http://www.microsoft.com/getsilverlight/" },
  { "silverlight-4", "Silverlight 4", "Silverlight", "4", "5", "",
    "http://www.microsoft.com/getsilverlight/" },
  { "flip4mac", "Flip4Mac", "Flip4Mac", "", "", "2.2.1",
    "http://www.telestream.net/flip4mac-wmv/overview.htm" },
  { "shockwave", "Shockwave", "Shockwave for Director", "",  "", "11.5.8.612",
    "http://www.adobe.com/shockwave/download/" }
};

#elif defined(OS_WIN)
// TODO(panayiotis): We should group "RealJukebox NS Plugin" with the rest of
// the RealPlayer files.
static const PluginGroupDefinition kGroupDefinitions[] = {
  { "apple-quicktime", "Quicktime", "QuickTime Plug-in", "", "", "7.6.7",
    "http://www.apple.com/quicktime/download/" },
  { "java-runtime-environment", "Java 6", "Java", "", "6", "6.0.200",
    "http://www.java.com/" },
  { "adobe-reader", "Adobe Reader 9", "Adobe Acrobat", "9", "10", "9.3.3",
    "http://get.adobe.com/reader/" },
  { "adobe-reader-8", "Adobe Reader 8", "Adobe Acrobat", "0", "9", "8.2.3",
    "http://get.adobe.com/reader/" },
  { "adobe-flash-player", "Flash", "Shockwave Flash", "", "", "10.1.82",
    "http://get.adobe.com/flashplayer/" },
  { "silverlight-3", "Silverlight 3", "Silverlight", "0", "4", "3.0.50106.0",
    "http://www.microsoft.com/getsilverlight/" },
  { "silverlight-4", "Silverlight 4", "Silverlight", "4", "5", "",
    "http://www.microsoft.com/getsilverlight/" },
  { "shockwave", "Shockwave", "Shockwave for Director", "", "", "11.5.8.612",<commit_msg>Update most secure version for the following plugins:  - Reader 9 to 9.4.0  - Reader 8 to 8.2.5  - Quicktime for Windows to 7.6.8  - Flash 10 to 10.1.85<commit_after>// Copyright (c) 2010 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.

#include "webkit/glue/plugins/plugin_group.h"

#include "base/linked_ptr.h"
#include "base/string_util.h"
#include "base/sys_string_conversions.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
#include "base/version.h"
#include "webkit/glue/plugins/plugin_list.h"
#include "webkit/glue/plugins/webplugininfo.h"

#if defined(OS_MACOSX)
// Plugin Groups for Mac.
// Plugins are listed here as soon as vulnerabilities and solutions
// (new versions) are published.
// TODO(panayiotis): Get the Real Player version on Mac, somehow.
static const PluginGroupDefinition kGroupDefinitions[] = {
  { "apple-quicktime", "Quicktime", "QuickTime Plug-in", "", "", "7.6.6",
    "http://www.apple.com/quicktime/download/" },
  { "java-runtime-environment", "Java", "Java", "", "", "",
    "http://support.apple.com/kb/HT1338" },
  { "adobe-flash-player", "Flash", "Shockwave Flash", "", "", "10.1.85",
    "http://get.adobe.com/flashplayer/" },
  { "silverlight-3", "Silverlight 3", "Silverlight", "0", "4", "3.0.50106.0",
    "http://www.microsoft.com/getsilverlight/" },
  { "silverlight-4", "Silverlight 4", "Silverlight", "4", "5", "",
    "http://www.microsoft.com/getsilverlight/" },
  { "flip4mac", "Flip4Mac", "Flip4Mac", "", "", "2.2.1",
    "http://www.telestream.net/flip4mac-wmv/overview.htm" },
  { "shockwave", "Shockwave", "Shockwave for Director", "",  "", "11.5.8.612",
    "http://www.adobe.com/shockwave/download/" }
};

#elif defined(OS_WIN)
// TODO(panayiotis): We should group "RealJukebox NS Plugin" with the rest of
// the RealPlayer files.
static const PluginGroupDefinition kGroupDefinitions[] = {
  { "apple-quicktime", "Quicktime", "QuickTime Plug-in", "", "", "7.6.8",
    "http://www.apple.com/quicktime/download/" },
  { "java-runtime-environment", "Java 6", "Java", "", "6", "6.0.200",
    "http://www.java.com/" },
  { "adobe-reader", "Adobe Reader 9", "Adobe Acrobat", "9", "10", "9.4.0",
    "http://get.adobe.com/reader/" },
  { "adobe-reader-8", "Adobe Reader 8", "Adobe Acrobat", "0", "9", "8.2.5",
    "http://get.adobe.com/reader/" },
  { "adobe-flash-player", "Flash", "Shockwave Flash", "", "", "10.1.85",
    "http://get.adobe.com/flashplayer/" },
  { "silverlight-3", "Silverlight 3", "Silverlight", "0", "4", "3.0.50106.0",
    "http://www.microsoft.com/getsilverlight/" },
  { "silverlight-4", "Silverlight 4", "Silverlight", "4", "5", "",
    "http://www.microsoft.com/getsilverlight/" },
  { "shockwave", "Shockwave", "Shockwave for Director", "", "", "11.5.8.612",
{'fraction_non_alphanumeric': 0.21701669359181475, 'fraction_numerical': 0.038413211272662, 'mean_word_length': 3.952888888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 18, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1866940', 'n_tokens_mistral': 2179, 'n_tokens_neox': 2026, 'n_words': 429}