Don't preload rarely seen large images
[chromium-blink-merge.git] / third_party / cld / encodings / compact_lang_det / string_byte_sink.cc
blob755778ed75f3cc34e54c56d26294b243a967a975
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
3 // found in the LICENSE file.
5 #include "encodings/compact_lang_det/string_byte_sink.h"
7 #include <string>
9 using std::string;
11 StringByteSink::StringByteSink(string* dest) : dest_(dest) {}
13 StringByteSink::~StringByteSink() {}
15 void StringByteSink::Append(const char* data, int32_t n) {
16 dest_->append(data, n);