Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_COMMON_EXTENSIONS_MANIFEST_URL_INFO_H_ | |
| 6 #define CHROME_COMMON_EXTENSIONS_MANIFEST_URL_INFO_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "chrome/common/extensions/extension.h" | |
| 11 | |
| 12 namespace extensions { | |
| 13 | |
| 14 class Extension; | |
| 15 | |
| 16 struct ManifestURLInfo : public Extension::ManifestData { | |
|
Yoyo Zhou
2013/01/03 01:45:55
I think you could call this just ManifestURL.
Joe Thomas
2013/01/03 19:56:31
Done.
| |
| 17 | |
| 18 // URL parsed from the extension manifest file. | |
| 19 GURL url_; | |
| 20 | |
| 21 // Get the URL associated with "devtools_page" manifest key. | |
| 22 static const GURL& GetDevToolsPage(const Extension* extension); | |
| 23 | |
| 24 // Returns the Homepage URL for this extension. If homepage_url was not | |
| 25 // specified in the manifest, this returns the Google Gallery URL. For | |
| 26 // third-party extensions, this returns a blank GURL. | |
| 27 static const GURL GetHomepageURL(const Extension* extension); | |
| 28 }; | |
| 29 | |
| 30 } // namespace extensions | |
| 31 | |
| 32 #endif // CHROME_COMMON_EXTENSIONS_MANIFEST_URL_INFO_H_ | |
| OLD | NEW |