summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process.cc
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 18:35:24 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-28 18:35:24 +0000
commit14ce83fb15ddb2dbd3c8a6d81a78435209359ff8 (patch)
treeba450456add7d7a46378aa8ba61438cbbbff7c3b /chrome/browser/browser_process.cc
parentbe8d1790c1e2bfbc2d21004415ea0cfe36e76eb2 (diff)
downloadchromium_src-14ce83fb15ddb2dbd3c8a6d81a78435209359ff8.zip
chromium_src-14ce83fb15ddb2dbd3c8a6d81a78435209359ff8.tar.gz
chromium_src-14ce83fb15ddb2dbd3c8a6d81a78435209359ff8.tar.bz2
Generalize the code that checks for user actions in the render view to work on all platforms.
Also, on linux, assume the user denies every download which we would have prompted him with. BUG=12709 TEST=windows is still carpet-bombing resilient and linux can download from the same page more than once. Review URL: http://codereview.chromium.org/113925 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17089 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_process.cc')
-rw-r--r--chrome/browser/browser_process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/browser_process.cc b/chrome/browser/browser_process.cc
index 8f29cbc..a646a9e 100644
--- a/chrome/browser/browser_process.cc
+++ b/chrome/browser/browser_process.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2009 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.
@@ -6,7 +6,7 @@
BrowserProcess* g_browser_process = NULL;
-#if defined(OS_WIN)
+#if defined(OS_WIN) || defined(OS_LINUX)
#include "chrome/browser/renderer_host/resource_dispatcher_host.h"