Home | History | Annotate | Download | only in drive
      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.
      4 
      5 #include "chrome/browser/chromeos/drive/file_change.h"
      6 
      7 namespace drive {
      8 
      9 FileChange::FileChange(const base::FilePath& path, Type type)
     10     : path_(path), type_(type) {
     11 }
     12 
     13 FileChange::~FileChange() {}
     14 
     15 // static
     16 FileChangeSet FileChange::CreateSingleSet(const base::FilePath& path,
     17                                           Type type) {
     18   FileChangeSet result;
     19   result.insert(FileChange(path, type));
     20   return result;
     21 }
     22 
     23 }  // namespace drive
     24