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

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

Issue 1807001: Revert 45749 - (missing test fix)... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/extensions_ui.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Deleted: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 bool HasEffectiveBrowsingHistoryPermission() const; 269 bool HasEffectiveBrowsingHistoryPermission() const;
270 270
271 // Whether the extension has access to all hosts. This is true if there is 271 // Whether the extension has access to all hosts. This is true if there is
272 // a content script that matches all hosts, or if there is a host permission 272 // a content script that matches all hosts, or if there is a host permission
273 // for all hosts. 273 // for all hosts.
274 bool HasAccessToAllHosts() const; 274 bool HasAccessToAllHosts() const;
275 275
276 const GURL& update_url() const { return update_url_; } 276 const GURL& update_url() const { return update_url_; }
277 const std::map<int, std::string>& icons() const { return icons_; } 277 const std::map<int, std::string>& icons() const { return icons_; }
278 278
279 // Returns the Google Gallery URL for this extension, if one exists. For
280 // third-party extensions, this returns a blank GURL.
281 GURL GalleryUrl() const;
282
283 // Theme-related. 279 // Theme-related.
284 DictionaryValue* GetThemeImages() const { return theme_images_.get(); } 280 DictionaryValue* GetThemeImages() const { return theme_images_.get(); }
285 DictionaryValue* GetThemeColors() const { return theme_colors_.get(); } 281 DictionaryValue* GetThemeColors() const { return theme_colors_.get(); }
286 DictionaryValue* GetThemeTints() const { return theme_tints_.get(); } 282 DictionaryValue* GetThemeTints() const { return theme_tints_.get(); }
287 DictionaryValue* GetThemeDisplayProperties() const { 283 DictionaryValue* GetThemeDisplayProperties() const {
288 return theme_display_properties_.get(); 284 return theme_display_properties_.get();
289 } 285 }
290 bool IsTheme() const { return is_theme_; } 286 bool IsTheme() const { return is_theme_; }
291 287
292 // Returns a list of paths (relative to the extension dir) for images that 288 // Returns a list of paths (relative to the extension dir) for images that
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 scoped_ptr<DictionaryValue> extension_manifest; 536 scoped_ptr<DictionaryValue> extension_manifest;
541 std::string extension_id; 537 std::string extension_id;
542 FilePath extension_path; 538 FilePath extension_path;
543 Extension::Location extension_location; 539 Extension::Location extension_location;
544 540
545 private: 541 private:
546 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo); 542 DISALLOW_COPY_AND_ASSIGN(ExtensionInfo);
547 }; 543 };
548 544
549 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_ 545 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/extensions_ui.html ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698