dependency_node.h 668 B

1234567891011121314151617181920
  1. // Copyright 2014 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. #ifndef COMPONENTS_KEYED_SERVICE_CORE_DEPENDENCY_NODE_H_
  5. #define COMPONENTS_KEYED_SERVICE_CORE_DEPENDENCY_NODE_H_
  6. // Base class representing a node in a DependencyGraph.
  7. class DependencyNode {
  8. public:
  9. DependencyNode(const DependencyNode&) = delete;
  10. DependencyNode& operator=(const DependencyNode&) = delete;
  11. protected:
  12. // This is intended to be used by the subclasses, not directly.
  13. DependencyNode() {}
  14. ~DependencyNode() {}
  15. };
  16. #endif // COMPONENTS_KEYED_SERVICE_CORE_DEPENDENCY_NODE_H_