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

Side by Side Diff: chrome/browser/component_updater/pepper_flash_field_trial.cc

Issue 10193001: Revert 133472 - Use bundled Pepper Flash on Windows (Canary, still on a field trial). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/component_updater/pepper_flash_field_trial.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/component_updater/pepper_flash_field_trial.h" 5 #include "chrome/browser/component_updater/pepper_flash_field_trial.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/metrics/field_trial.h" 9 #include "base/metrics/field_trial.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 static bool activated = false; 52 static bool activated = false;
53 if (!activated) { 53 if (!activated) {
54 ActivateFieldTrial(); 54 ActivateFieldTrial();
55 activated = true; 55 activated = true;
56 } 56 }
57 57
58 int group = base::FieldTrialList::FindValue(kFieldTrialName); 58 int group = base::FieldTrialList::FindValue(kFieldTrialName);
59 return group != base::FieldTrial::kNotFinalized && 59 return group != base::FieldTrial::kNotFinalized &&
60 group != g_disabled_group_number; 60 group != g_disabled_group_number;
61 } 61 }
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/pepper_flash_field_trial.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698