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

Unified Diff: chrome/common/extensions/manifest_handlers/nacl_modules_handler.h

Issue 435343002: Move NaClModulesHandler to src/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: chrome/common/extensions/manifest_handlers/nacl_modules_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/nacl_modules_handler.h b/chrome/common/extensions/manifest_handlers/nacl_modules_handler.h
deleted file mode 100644
index 9c7a4090ecb5ebcaa357356b7d158b03aeeee08b..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/manifest_handlers/nacl_modules_handler.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2013 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 CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_NACL_MODULES_HANDLER_H_
-#define CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_NACL_MODULES_HANDLER_H_
-
-#include <list>
-#include <string>
-
-#include "extensions/common/extension.h"
-#include "extensions/common/manifest_handler.h"
-
-namespace extensions {
-
-// An NaCl module included in the extension.
-struct NaClModuleInfo {
- typedef std::list<NaClModuleInfo> List;
- // Returns the NaCl modules for the extensions, or NULL if none exist.
- static const NaClModuleInfo::List* GetNaClModules(
- const Extension* extension);
-
- GURL url;
- std::string mime_type;
-};
-
-// Parses the "nacl_modules" manifest key.
-class NaClModulesHandler : public ManifestHandler {
- public:
- NaClModulesHandler();
- virtual ~NaClModulesHandler();
-
- virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE;
-
- private:
- virtual const std::vector<std::string> Keys() const OVERRIDE;
-};
-
-} // namespace extensions
-
-#endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_NACL_MODULES_HANDLER_H_

Powered by Google App Engine
This is Rietveld 408576698