blob: b2c15d39d29d9f6e326de7e9c2d18f842bdab14c [file] [log] [blame]
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHAPS_HANDLE_GENERATOR_H_
#define CHAPS_HANDLE_GENERATOR_H_
namespace chaps {
// A HandleGenerator simply generates unique handles.
class HandleGenerator {
public:
virtual ~HandleGenerator() {}
virtual int CreateHandle() = 0;
};
} // namespace chaps
#endif // CHAPS_HANDLE_GENERATOR_H_