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

Unified Diff: extensions/browser/api/api_resource.cc

Issue 182213005: Move api_resource{,manager} out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 9 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 | « extensions/browser/api/api_resource.h ('k') | extensions/browser/api/api_resource_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/api_resource.cc
diff --git a/chrome/browser/extensions/api/api_resource.cc b/extensions/browser/api/api_resource.cc
similarity index 75%
rename from chrome/browser/extensions/api/api_resource.cc
rename to extensions/browser/api/api_resource.cc
index c8ddd4025a84fd980e4e7f688da2a356a9c789e1..8c9f569f70fb182244b09cd994b88b98a9872a55 100644
--- a/chrome/browser/extensions/api/api_resource.cc
+++ b/extensions/browser/api/api_resource.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/extensions/api/api_resource.h"
+#include "extensions/browser/api/api_resource.h"
namespace extensions {
@@ -12,11 +12,10 @@ ApiResource::ApiResource(const std::string& owner_extension_id)
CHECK(!owner_extension_id_.empty());
}
-ApiResource::~ApiResource() {
-}
+ApiResource::~ApiResource() {}
bool ApiResource::IsPersistent() const {
- return true; // backward-compatible behavior.
+ return true; // backward-compatible behavior.
}
} // namespace extensions
« no previous file with comments | « extensions/browser/api/api_resource.h ('k') | extensions/browser/api/api_resource_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698