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

Unified Diff: chrome/common/extensions/api/managed_mode_private/managed_mode_handler.h

Issue 345563008: Rename "managed (mode|user)" to "supervised user" (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 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/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_
« no previous file with comments | « chrome/chrome_common.gypi ('k') | chrome/common/extensions/api/managed_mode_private/managed_mode_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698