summaryrefslogtreecommitdiffstats
path: root/webkit/glue/resource_loader_bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/resource_loader_bridge.h')
-rw-r--r--webkit/glue/resource_loader_bridge.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index bd2f8b9..7257b0c 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// 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.
//
@@ -236,6 +236,9 @@ class ResourceLoaderBridge {
// If true, then the response body will be downloaded to a file and the
// path to that file will be provided in ResponseInfo::download_file_path.
bool download_to_file;
+
+ // True if the request was user initiated.
+ bool has_user_gesture;
};
// See the SyncLoad method declared below. (The name of this struct is not
@@ -259,9 +262,9 @@ class ResourceLoaderBridge {
// within webkit. The Peer and it's bridge should have identical lifetimes
// as they represent each end of a communication channel.
//
- // These callbacks mirror URLRequest::Delegate and the order and conditions
- // in which they will be called are identical. See url_request.h for more
- // information.
+ // These callbacks mirror net::URLRequest::Delegate and the order and
+ // conditions in which they will be called are identical. See url_request.h
+ // for more information.
class Peer {
public:
virtual ~Peer() {}