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

Side by Side Diff: chrome/common/extensions/manifest_url_info.h

Issue 11624036: Move the parsing of homepage_url" and "devtools_page" out of Extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments addressed Created 7 years, 11 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698