blob: 967cc3328247b91ed3e725d949e78da8806b5322 [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