Save errno for logging before potentially overwriting it.
[chromium-blink-merge.git] / ppapi / shared_impl / file_path.cc
blobd05b1b3452f66790852122b421e01eaed66a91f6
1 // Copyright (c) 2011 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_path.h"
7 namespace ppapi {
9 PepperFilePath::PepperFilePath()
10 : domain_(DOMAIN_INVALID),
11 path_() {
14 PepperFilePath::PepperFilePath(Domain domain, const base::FilePath& path)
15 : domain_(domain),
16 path_(path) {
17 // TODO(viettrungluu): Should we DCHECK() some things here?
20 } // namespace ppapi