Chromium Code Reviews| Index: chrome/browser/extensions/app_launch_manifest_parser.h |
| diff --git a/chrome/browser/extensions/app_launch_manifest_parser.h b/chrome/browser/extensions/app_launch_manifest_parser.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d66dc2b1fb89ba5036f35f426bde8bc87f8b7959 |
| --- /dev/null |
| +++ b/chrome/browser/extensions/app_launch_manifest_parser.h |
| @@ -0,0 +1,38 @@ |
| +// 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_BROWSER_EXTENSIONS_APP_LAUNCH_MANIFEST_PARSER_H_ |
| +#define CHROME_BROWSER_EXTENSIONS_APP_LAUNCH_MANIFEST_PARSER_H_ |
| + |
| +#include "base/basictypes.h" |
|
Devlin
2013/03/08 17:44:21
nit: Why do we need this include?
Joe Thomas
2013/03/09 01:59:52
Removed
|
| +#include "chrome/browser/extensions/api/profile_keyed_api_factory.h" |
| + |
| +class Profile; |
| + |
| +namespace extensions { |
| + |
| +class AppLaunchManifestParser : public ProfileKeyedAPI { |
| + public: |
| + explicit AppLaunchManifestParser(Profile* profile); |
| + virtual ~AppLaunchManifestParser(); |
| + |
| + // ProfileKeyedAPI implementation. |
| + static ProfileKeyedAPIFactory<AppLaunchManifestParser>* |
| + GetFactoryInstance(); |
| + |
| + private: |
| + friend class ProfileKeyedAPIFactory<AppLaunchManifestParser>; |
| + |
| + // ProfileKeyedAPI implementation. |
| + static const char* service_name() { |
| + return "AppLaunchManifestParser"; |
| + } |
| + static const bool kServiceIsNULLWhileTesting = true; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(AppLaunchManifestParser); |
| +}; |
| + |
| +} // namespace extensions |
| + |
| +#endif // CHROME_BROWSER_EXTENSIONS_APP_LAUNCH_MANIFEST_PARSER_H_ |