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

Unified Diff: chrome/browser/extensions/api/url_handlers/url_handlers_api.h

Issue 22944002: Implementation of the "Redirect URLs to Packaged Apps" feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fully reverted extension_service.cc to original form 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
Index: chrome/browser/extensions/api/url_handlers/url_handlers_api.h
diff --git a/chrome/browser/extensions/api/file_handlers/file_handlers_api.h b/chrome/browser/extensions/api/url_handlers/url_handlers_api.h
similarity index 50%
copy from chrome/browser/extensions/api/file_handlers/file_handlers_api.h
copy to chrome/browser/extensions/api/url_handlers/url_handlers_api.h
index e8d00f9c001b5b928102df6641c7a223387fb2ea..8342b6c9cf2f63ef01501e3ed3ca8b3817bf1840 100644
--- a/chrome/browser/extensions/api/file_handlers/file_handlers_api.h
+++ b/chrome/browser/extensions/api/url_handlers/url_handlers_api.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_FILE_HANDLERS_FILE_HANDLERS_API_H_
-#define CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_FILE_HANDLERS_API_H_
+#ifndef CHROME_BROWSER_EXTENSIONS_API_URL_HANDLERS_URL_HANDLERS_API_H_
+#define CHROME_BROWSER_EXTENSIONS_API_URL_HANDLERS_URL_HANDLERS_API_H_
#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
@@ -11,24 +11,24 @@ class Profile;
namespace extensions {
-class FileHandlersAPI : public ProfileKeyedAPI {
+class UrlHandlersAPI : public ProfileKeyedAPI {
public:
- explicit FileHandlersAPI(Profile* profile);
- virtual ~FileHandlersAPI();
+ explicit UrlHandlersAPI(Profile* profile);
+ virtual ~UrlHandlersAPI();
// ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<FileHandlersAPI>* GetFactoryInstance();
+ static ProfileKeyedAPIFactory<UrlHandlersAPI>* GetFactoryInstance();
private:
- friend class ProfileKeyedAPIFactory<FileHandlersAPI>;
+ friend class ProfileKeyedAPIFactory<UrlHandlersAPI>;
// ProfileKeyedAPI implementation.
static const char* service_name() {
- return "FileHandlersAPI";
+ return "UrlHandlersAPI";
}
static const bool kServiceIsNULLWhileTesting = true;
};
} // namespace extensions
-#endif // CHROME_BROWSER_EXTENSIONS_API_FILE_HANDLERS_FILE_HANDLERS_API_H_
+#endif // CHROME_BROWSER_EXTENSIONS_API_URL_HANDLERS_URL_HANDLERS_API_H_

Powered by Google App Engine
This is Rietveld 408576698