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

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

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 | « chrome/chrome_browser_extensions.gypi ('k') | extensions/browser/api/api_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/api_resource.h
diff --git a/chrome/browser/extensions/api/api_resource.h b/extensions/browser/api/api_resource.h
similarity index 81%
rename from chrome/browser/extensions/api/api_resource.h
rename to extensions/browser/api/api_resource.h
index f7d416782a4ee44dd07ce76826449a09372edd22..6be845f5e8bf934b6ae51a79da348b11f1404d87 100644
--- a/chrome/browser/extensions/api/api_resource.h
+++ b/extensions/browser/api/api_resource.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_API_API_RESOURCE_H_
-#define CHROME_BROWSER_EXTENSIONS_API_API_RESOURCE_H_
+#ifndef EXTENSIONS_BROWSER_API_API_RESOURCE_H_
+#define EXTENSIONS_BROWSER_API_API_RESOURCE_H_
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
@@ -19,9 +19,7 @@ class ApiResource {
public:
virtual ~ApiResource();
- const std::string& owner_extension_id() const {
- return owner_extension_id_;
- }
+ const std::string& owner_extension_id() const { return owner_extension_id_; }
// If this method returns |true|, the resource remains open when the
// owning extension is suspended due to inactivity.
@@ -42,4 +40,4 @@ class ApiResource {
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_API_RESOURCE_H_
+#endif // EXTENSIONS_BROWSER_API_API_RESOURCE_H_
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | extensions/browser/api/api_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698