| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 #include <utility> | 11 #include <utility> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/gtest_prod_util.h" |
| 14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 16 #include "base/observer_list.h" | 17 #include "base/observer_list.h" |
| 17 #include "chrome/browser/extensions/api/identity/extension_token_key.h" | 18 #include "chrome/browser/extensions/api/identity/extension_token_key.h" |
| 18 #include "chrome/browser/extensions/api/identity/gaia_web_auth_flow.h" | 19 #include "chrome/browser/extensions/api/identity/gaia_web_auth_flow.h" |
| 19 #include "chrome/browser/extensions/api/identity/identity_mint_queue.h" | 20 #include "chrome/browser/extensions/api/identity/identity_mint_queue.h" |
| 20 #include "chrome/browser/extensions/api/identity/identity_signin_flow.h" | 21 #include "chrome/browser/extensions/api/identity/identity_signin_flow.h" |
| 21 #include "chrome/browser/extensions/api/identity/web_auth_flow.h" | 22 #include "chrome/browser/extensions/api/identity/web_auth_flow.h" |
| 22 #include "chrome/browser/extensions/chrome_extension_function.h" | 23 #include "chrome/browser/extensions/chrome_extension_function.h" |
| 23 #include "components/signin/core/browser/profile_identity_provider.h" | 24 #include "components/signin/core/browser/profile_identity_provider.h" |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 // Helper to initialize final URL prefix. | 349 // Helper to initialize final URL prefix. |
| 349 void InitFinalRedirectURLPrefix(const std::string& extension_id); | 350 void InitFinalRedirectURLPrefix(const std::string& extension_id); |
| 350 | 351 |
| 351 scoped_ptr<WebAuthFlow> auth_flow_; | 352 scoped_ptr<WebAuthFlow> auth_flow_; |
| 352 GURL final_url_prefix_; | 353 GURL final_url_prefix_; |
| 353 }; | 354 }; |
| 354 | 355 |
| 355 } // namespace extensions | 356 } // namespace extensions |
| 356 | 357 |
| 357 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ | 358 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_IDENTITY_API_H_ |
| OLD | NEW |