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

Side by Side Diff: chrome/browser/chromeos/login/signin/merge_session_load_page.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_LOAD_PAGE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_LOAD_PAGE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_LOAD_PAGE_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_LOAD_PAGE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h" 13 #include "chrome/browser/chromeos/login/signin/merge_session_throttling_utils.h"
14 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h" 14 #include "chrome/browser/chromeos/login/signin/oauth2_login_manager.h"
15 #include "content/public/browser/interstitial_page_delegate.h" 15 #include "content/public/browser/interstitial_page_delegate.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 namespace base {
19 class DictionaryValue;
20 }
21
22 namespace content { 18 namespace content {
23 class InterstitialPage; 19 class InterstitialPage;
24 class WebContents; 20 class WebContents;
25 } 21 }
26 22
27 namespace extensions {
28 class Extension;
29 }
30
31 namespace chromeos { 23 namespace chromeos {
32 24
33 // MergeSessionLoadPage class shows the interstitial page that is shown 25 // MergeSessionLoadPage class shows the interstitial page that is shown
34 // while we are trying to restore session containing tabs with Google properties 26 // while we are trying to restore session containing tabs with Google properties
35 // during the process of exchanging OAuth2 refresh token for user cookies. 27 // during the process of exchanging OAuth2 refresh token for user cookies.
36 // It deletes itself when the interstitial page is closed. 28 // It deletes itself when the interstitial page is closed.
37 class MergeSessionLoadPage 29 class MergeSessionLoadPage
38 : public content::InterstitialPageDelegate, 30 : public content::InterstitialPageDelegate,
39 public OAuth2LoginManager::Observer { 31 public OAuth2LoginManager::Observer {
40 public: 32 public:
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 content::WebContents* web_contents_; 70 content::WebContents* web_contents_;
79 GURL url_; 71 GURL url_;
80 content::InterstitialPage* interstitial_page_; // Owns us. 72 content::InterstitialPage* interstitial_page_; // Owns us.
81 73
82 DISALLOW_COPY_AND_ASSIGN(MergeSessionLoadPage); 74 DISALLOW_COPY_AND_ASSIGN(MergeSessionLoadPage);
83 }; 75 };
84 76
85 } // namespace chromeos 77 } // namespace chromeos
86 78
87 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_LOAD_PAGE_H_ 79 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_LOAD_PAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698