summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/file_change.cc
blob: cc3c9aaf30107e95901c1ab9d9ff8a3587c1c5bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/chromeos/drive/file_change.h"

namespace drive {

FileChange::FileChange(const base::FilePath& path, Type type)
    : path_(path), type_(type) {
}

FileChange::~FileChange() {}

// static
FileChangeSet FileChange::CreateSingleSet(const base::FilePath& path,
                                          Type type) {
  FileChangeSet result;
  result.insert(FileChange(path, type));
  return result;
}

}  // namespace drive