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

Issue 2080016: Don't use command line flags for enabling the internal pdf plugin. Instead, ... (Closed)

Created:
10 years, 7 months ago by jam
Modified:
9 years, 7 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, brettw-cc_chromium.org, darin-cc_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Don't use command line flags for enabling the internal pdf plugin. Instead, disable it by default using the same mechanism that we use for about:plugins. Once we enable it by default, we just need to flip a boolean in the code and it'll be enabled for everyone. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=47973

Patch Set 1 : '' #

Total comments: 10

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -51 lines) Patch
M chrome/browser/dom_ui/plugins_ui.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/plugin_service.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/plugin_service.cc View 1 4 chunks +57 lines, -19 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_plugin_lib.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/render_process_impl.cc View 1 chunk +15 lines, -17 lines 0 comments Download
M chrome/renderer/render_view.cc View 4 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jam
10 years, 7 months ago (2010-05-21 00:02:45 UTC) #1
viettrungluu
Aargh. Been continually busy so far today, so I guess I'll send you my comments ...
10 years, 7 months ago (2010-05-21 20:29:41 UTC) #2
viettrungluu
LGTM. http://codereview.chromium.org/2080016/diff/10001/6003 File chrome/browser/plugin_service.cc (right): http://codereview.chromium.org/2080016/diff/10001/6003#newcode72 chrome/browser/plugin_service.cc:72: if (enable_internal_pdf_ && Could you just add a ...
10 years, 7 months ago (2010-05-21 21:59:52 UTC) #3
jam
http://codereview.chromium.org/2080016/diff/10001/6003 File chrome/browser/plugin_service.cc (right): http://codereview.chromium.org/2080016/diff/10001/6003#newcode72 chrome/browser/plugin_service.cc:72: if (enable_internal_pdf_ && On 2010/05/21 21:59:54, viettrungluu wrote: > ...
10 years, 7 months ago (2010-05-21 22:40:10 UTC) #4
viettrungluu
10 years, 7 months ago (2010-05-21 22:42:06 UTC) #5
http://codereview.chromium.org/2080016/diff/10001/6007
File chrome/common/chrome_switches.cc (left):

http://codereview.chromium.org/2080016/diff/10001/6007#oldcode500
chrome/common/chrome_switches.cc:500: const char kInternalPDF[]                 
= "internal-pdf";
On 2010/05/21 22:40:10, John Abd-El-Malek wrote:
> On 2010/05/21 21:59:54, viettrungluu wrote:
> > nit: one more space before the '=' :)
> 
> this is being deleted

Don't I feel dumb now?

Powered by Google App Engine
This is Rietveld 408576698