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

Unified Diff: mojo/tools/package_manager/manifest.h

Issue 705703002: Remove mojo/tools/, not needed in chromium (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove gyp Created 6 years, 1 month 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 | « mojo/tools/package_manager/DEPS ('k') | mojo/tools/package_manager/manifest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/tools/package_manager/manifest.h
diff --git a/mojo/tools/package_manager/manifest.h b/mojo/tools/package_manager/manifest.h
deleted file mode 100644
index f87040db7d246a100beaad18b282499458ea0e92..0000000000000000000000000000000000000000
--- a/mojo/tools/package_manager/manifest.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2014 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.
-
-#ifndef MOJO_TOOLS_PACKAGE_MANAGER_MANIFEST_H_
-#define MOJO_TOOLS_PACKAGE_MANAGER_MANIFEST_H_
-
-#include <string>
-#include <vector>
-
-#include "mojo/public/cpp/system/macros.h"
-
-class GURL;
-
-namespace base {
-class DictionaryValue;
-class FilePath;
-}
-
-namespace mojo {
-
-class Manifest {
- public:
- Manifest();
- ~Manifest();
-
- // Parses the manifest from raw data. Returns true on success. On failure,
- // populates the "err_msg" string with an error.
- bool Parse(const std::string& str, std::string* err_msg);
-
- // Like Parse but reads the data from a file.
- bool ParseFromFile(const base::FilePath& file_name, std::string* err_msg);
-
- const std::vector<GURL>& deps() const { return deps_; }
-
- private:
- bool PopulateDeps(const base::DictionaryValue* root, std::string* err_msg);
-
- std::vector<GURL> deps_;
-
- MOJO_DISALLOW_COPY_AND_ASSIGN(Manifest);
-};
-
-} // namespace mojo
-
-#endif // MOJO_TOOLS_PACKAGE_MANAGER_MANIFEST_H_
« no previous file with comments | « mojo/tools/package_manager/DEPS ('k') | mojo/tools/package_manager/manifest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698