OLD | NEW |
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 "webkit/base/data_element.h" | 5 #include "webkit/common/base/data_element.h" |
6 | 6 |
7 namespace webkit_base { | 7 namespace webkit_base { |
8 | 8 |
9 DataElement::DataElement() | 9 DataElement::DataElement() |
10 : type_(TYPE_UNKNOWN), | 10 : type_(TYPE_UNKNOWN), |
11 bytes_(NULL), | 11 bytes_(NULL), |
12 offset_(0), | 12 offset_(0), |
13 length_(kuint64max) { | 13 length_(kuint64max) { |
14 } | 14 } |
15 | 15 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 uint64 offset, uint64 length, | 51 uint64 offset, uint64 length, |
52 const base::Time& expected_modification_time) { | 52 const base::Time& expected_modification_time) { |
53 type_ = TYPE_FILE_FILESYSTEM; | 53 type_ = TYPE_FILE_FILESYSTEM; |
54 filesystem_url_ = filesystem_url; | 54 filesystem_url_ = filesystem_url; |
55 offset_ = offset; | 55 offset_ = offset; |
56 length_ = length; | 56 length_ = length; |
57 expected_modification_time_ = expected_modification_time; | 57 expected_modification_time_ = expected_modification_time; |
58 } | 58 } |
59 | 59 |
60 } // webkit_base | 60 } // webkit_base |
OLD | NEW |