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

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

Issue 2830353003: Tracing for NavigationHandle lifetime and state. (Closed)
Patch Set: Rebase. Created 3 years, 7 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
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_NAVIGATION_THROTTLE_H _ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_NAVIGATION_THROTTLE_H _
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_NAVIGATION_THROTTLE_H _ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_NAVIGATION_THROTTLE_H _
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 11 matching lines...) Expand all
22 public: 22 public:
23 static std::unique_ptr<content::NavigationThrottle> Create( 23 static std::unique_ptr<content::NavigationThrottle> Create(
24 content::NavigationHandle* handle); 24 content::NavigationHandle* handle);
25 ~MergeSessionNavigationThrottle() override; 25 ~MergeSessionNavigationThrottle() override;
26 26
27 private: 27 private:
28 explicit MergeSessionNavigationThrottle(content::NavigationHandle* handle); 28 explicit MergeSessionNavigationThrottle(content::NavigationHandle* handle);
29 29
30 // content::NavigationThrottle implementation: 30 // content::NavigationThrottle implementation:
31 content::NavigationThrottle::ThrottleCheckResult WillStartRequest() override; 31 content::NavigationThrottle::ThrottleCheckResult WillStartRequest() override;
32 const char* GetNameForLogging() override;
32 33
33 // MergeSessionLoadPage callback. 34 // MergeSessionLoadPage callback.
34 void OnBlockingPageComplete(); 35 void OnBlockingPageComplete();
35 36
36 base::WeakPtrFactory<MergeSessionNavigationThrottle> weak_factory_; 37 base::WeakPtrFactory<MergeSessionNavigationThrottle> weak_factory_;
37 38
38 DISALLOW_COPY_AND_ASSIGN(MergeSessionNavigationThrottle); 39 DISALLOW_COPY_AND_ASSIGN(MergeSessionNavigationThrottle);
39 }; 40 };
40 41
41 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_NAVIGATION_THROTTL E_H_ 42 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SIGNIN_MERGE_SESSION_NAVIGATION_THROTTL E_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698