Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2966)

Unified Diff: blimp/helium/revision_generator.cc

Issue 2602103002: Delete blimp/helium and remove references to it from dependent targets (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/helium/revision_generator.h ('k') | blimp/helium/revision_generator_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/helium/revision_generator.cc
diff --git a/blimp/helium/revision_generator.cc b/blimp/helium/revision_generator.cc
deleted file mode 100644
index a57737b5ec4936d1434829e5666f643460db88fb..0000000000000000000000000000000000000000
--- a/blimp/helium/revision_generator.cc
+++ /dev/null
@@ -1,28 +0,0 @@
-// Copyright 2016 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 "blimp/helium/revision_generator.h"
-
-namespace blimp {
-namespace helium {
-
-base::LazyInstance<RevisionGenerator> RevisionGenerator::instance_ =
- LAZY_INSTANCE_INITIALIZER;
-
-const Revision& RevisionGenerator::GetNextRevision() {
- DCHECK(sequence_checker_.CalledOnValidSequence())
- << "GetNextRevision() must be called on the same sequenced thread.";
- return ++revision_;
-}
-
-RevisionGenerator* RevisionGenerator::GetInstance() {
- return instance_.Pointer();
-}
-
-Revision GetNextRevision() {
- return RevisionGenerator::GetInstance()->GetNextRevision();
-}
-
-} // namespace helium
-} // namespace blimp
« no previous file with comments | « blimp/helium/revision_generator.h ('k') | blimp/helium/revision_generator_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698