Added documentation to web_view.js/web_view_experimental.js regarding the webview...
[chromium-blink-merge.git] / ppapi / shared_impl / file_growth.cc
blob002bd0fb1c3b1e9c8468af508483c3960fd815c2
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "ppapi/shared_impl/file_growth.h"
7 #include "base/logging.h"
9 namespace ppapi {
11 FileGrowth::FileGrowth()
12 : max_written_offset(0),
13 append_mode_write_amount(0) {
16 FileGrowth::FileGrowth(int64_t max_written_offset,
17 int64_t append_mode_write_amount)
18 : max_written_offset(max_written_offset),
19 append_mode_write_amount(append_mode_write_amount) {
20 DCHECK_LE(0, max_written_offset);
21 DCHECK_LE(0, append_mode_write_amount);
24 } // namespace ppapi