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

Unified Diff: experimental/webgtt/algorithms.cc

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months 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 | « experimental/webgtt/algorithms.h ('k') | experimental/webgtt/build.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/webgtt/algorithms.cc
diff --git a/experimental/webgtt/algorithms.cc b/experimental/webgtt/algorithms.cc
deleted file mode 100644
index ce592767b13a4fe2eb343244cf7409605bbf1580..0000000000000000000000000000000000000000
--- a/experimental/webgtt/algorithms.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2011 The Native Client 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 "webgtt/algorithms.h"
-
-#include <sstream>
-#include <vector>
-
-#include "webgtt/graph.h"
-
-namespace webgtt {
-
-std::string GetColoring(const graph::Graph& input_graph) {
- std::vector<int> vertex_colors = input_graph.GetColoring();
- // Format the message to be sent back to the browser.
- std::ostringstream answer;
- for (size_t i = 0; i < vertex_colors.size(); ++i) {
- answer << vertex_colors[i];
- if (i != vertex_colors.size() - 1) {
- answer << ',';
- }
- }
- return answer.str();
-}
-
-} // namespace webgtt
« no previous file with comments | « experimental/webgtt/algorithms.h ('k') | experimental/webgtt/build.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698