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

Unified Diff: chrome/common/extensions/features/feature.cc

Issue 23257005: Move Feature and Manifest to top-level extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
« no previous file with comments | « chrome/common/extensions/features/feature.h ('k') | chrome/common/extensions/features/manifest_feature.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/features/feature.cc
diff --git a/chrome/common/extensions/features/feature.cc b/chrome/common/extensions/features/feature.cc
deleted file mode 100644
index d1ae538e670fa73f03f662ad4004ebd9592e8dd6..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/features/feature.cc
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright (c) 2012 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.
-
-#include "chrome/common/extensions/features/feature.h"
-
-#include <map>
-
-#include "base/command_line.h"
-#include "base/lazy_instance.h"
-#include "base/strings/string_util.h"
-#include "base/strings/stringprintf.h"
-
-namespace extensions {
-
-// static
-Feature::Platform Feature::GetCurrentPlatform() {
-#if defined(OS_CHROMEOS)
- return CHROMEOS_PLATFORM;
-#else
- return UNSPECIFIED_PLATFORM;
-#endif
-}
-
-// static
-Feature::Location Feature::ConvertLocation(Manifest::Location location) {
- if (location == Manifest::COMPONENT)
- return COMPONENT_LOCATION;
- else
- return UNSPECIFIED_LOCATION;
-}
-
-// static
-Feature::Availability Feature::CreateAvailability(AvailabilityResult result,
- const std::string& message) {
- return Availability(result, message);
-}
-
-Feature::Feature() : no_parent_(false) {}
-
-Feature::~Feature() {}
-
-} // namespace extensions
« no previous file with comments | « chrome/common/extensions/features/feature.h ('k') | chrome/common/extensions/features/manifest_feature.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698