summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/file_change.cc
blob: a4e6ee9850bc7fca1973b982220b75b282e96667 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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 FilePath& path, Type type)
    : path_(path), type_(type) {
}

FileChange::~FileChange() {}

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

}  // namespace drive