Index: chrome/common/extensions/extension.h |
=================================================================== |
--- chrome/common/extensions/extension.h (revision 178370) |
+++ chrome/common/extensions/extension.h (working copy) |
@@ -56,8 +56,6 @@ |
class Manifest; |
class PermissionSet; |
-typedef std::set<std::string> OAuth2Scopes; |
- |
// Represents a Chrome extension. |
class Extension : public base::RefCountedThreadSafe<Extension> { |
public: |
@@ -172,17 +170,6 @@ |
std::string mime_type; |
}; |
- // OAuth2 info included in the extension. |
- struct OAuth2Info { |
- OAuth2Info(); |
- ~OAuth2Info(); |
- |
- OAuth2Scopes GetScopesAsSet(); |
- |
- std::string client_id; |
- std::vector<std::string> scopes; |
- }; |
- |
struct InstallWarning { |
enum Format { |
// IMPORTANT: Do not build HTML strings from user or developer-supplied |
@@ -675,7 +662,6 @@ |
const std::string default_locale() const { return default_locale_; } |
bool incognito_split_mode() const { return incognito_split_mode_; } |
bool offline_enabled() const { return offline_enabled_; } |
- const OAuth2Info& oauth2_info() const { return oauth2_info_; } |
bool wants_file_access() const { return wants_file_access_; } |
int creation_flags() const { return creation_flags_; } |
bool from_webstore() const { return (creation_flags_ & FROM_WEBSTORE) != 0; } |
@@ -880,9 +866,6 @@ |
void(UserScript::*add_method)(const std::string& glob), |
UserScript* instance); |
- // Helper method that loads the OAuth2 info from the 'oauth2' manifest key. |
- bool LoadOAuth2Info(string16* error); |
- |
// Returns true if the extension has more than one "UI surface". For example, |
// an extension that has a browser action and a page action. |
bool HasMultipleUISurfaces() const; |
@@ -1089,9 +1072,6 @@ |
// Should this app be shown in the browser New Tab Page. |
bool display_in_new_tab_page_; |
- // The OAuth2 client id and scopes, if specified by the extension. |
- OAuth2Info oauth2_info_; |
- |
// Whether the extension has host permissions or user script patterns that |
// imply access to file:/// scheme URLs (the user may not have actually |
// granted it that access). |