Index: chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h |
diff --git a/chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h b/chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h |
deleted file mode 100644 |
index 81822c535ec0ad1825da91daca5963ee9a09b878..0000000000000000000000000000000000000000 |
--- a/chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h |
+++ /dev/null |
@@ -1,52 +0,0 @@ |
-// Copyright (c) 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_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_HANDLER_H_ |
-#define CHROME_COMMON_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_HANDLER_H_ |
- |
-#include <string> |
- |
-#include "base/files/file_path.h" |
-#include "base/memory/scoped_ptr.h" |
-#include "extensions/common/extension.h" |
-#include "extensions/common/extension_resource.h" |
-#include "extensions/common/manifest.h" |
-#include "extensions/common/manifest_handler.h" |
- |
-namespace extensions { |
- |
-struct ManagedModeInfo : public Extension::ManifestData { |
- ManagedModeInfo(); |
- virtual ~ManagedModeInfo(); |
- |
- static bool IsContentPack(const Extension* extension); |
- static ExtensionResource GetContentPackSiteList(const Extension* extension); |
- |
- // A file containing a list of sites for Managed Mode. |
- base::FilePath site_list; |
-}; |
- |
-// Parses the "content_pack" manifest key for Managed Mode. |
-class ManagedModeHandler : public ManifestHandler { |
- public: |
- ManagedModeHandler(); |
- virtual ~ManagedModeHandler(); |
- |
- virtual bool Parse(Extension* extension, base::string16* error) OVERRIDE; |
- private: |
- virtual const std::vector<std::string> Keys() const OVERRIDE; |
- |
- bool LoadSites(ManagedModeInfo* info, |
- const base::DictionaryValue* content_pack_value, |
- base::string16* error); |
- bool LoadConfigurations(ManagedModeInfo* info, |
- const base::DictionaryValue* content_pack_value, |
- base::string16* error); |
- |
- DISALLOW_COPY_AND_ASSIGN(ManagedModeHandler); |
-}; |
- |
-} // namespace extensions |
- |
-#endif // CHROME_COMMON_EXTENSIONS_API_MANAGED_MODE_PRIVATE_MANAGED_MODE_HANDLER_H_ |