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

Side by Side Diff: chrome/browser/ui/omnibox/chrome_omnibox_navigation_observer.h

Issue 2225343002: Navigation: move RestoreType and ReloadType into a separate file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: trybots ran with PS8, but one more safe change is added here Created 4 years, 3 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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_UI_OMNIBOX_CHROME_OMNIBOX_NAVIGATION_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_NAVIGATION_OBSERVER_H_
6 #define CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_NAVIGATION_OBSERVER_H_ 6 #define CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_NAVIGATION_OBSERVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 bool HasSeenPendingLoad() const override; 74 bool HasSeenPendingLoad() const override;
75 75
76 // content::NotificationObserver: 76 // content::NotificationObserver:
77 void Observe(int type, 77 void Observe(int type,
78 const content::NotificationSource& source, 78 const content::NotificationSource& source,
79 const content::NotificationDetails& details) override; 79 const content::NotificationDetails& details) override;
80 80
81 // content::WebContentsObserver: 81 // content::WebContentsObserver:
82 void DidStartNavigationToPendingEntry( 82 void DidStartNavigationToPendingEntry(
83 const GURL& url, 83 const GURL& url,
84 content::NavigationController::ReloadType reload_type) override; 84 content::ReloadType reload_type) override;
85 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, 85 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host,
86 const GURL& validated_url, 86 const GURL& validated_url,
87 int error_code, 87 int error_code,
88 const base::string16& error_description, 88 const base::string16& error_description,
89 bool was_ignored_by_handler) override; 89 bool was_ignored_by_handler) override;
90 void NavigationEntryCommitted( 90 void NavigationEntryCommitted(
91 const content::LoadCommittedDetails& load_details) override; 91 const content::LoadCommittedDetails& load_details) override;
92 void WebContentsDestroyed() override; 92 void WebContentsDestroyed() override;
93 93
94 // net::URLFetcherDelegate: 94 // net::URLFetcherDelegate:
(...skipping 10 matching lines...) Expand all
105 std::unique_ptr<net::URLFetcher> fetcher_; 105 std::unique_ptr<net::URLFetcher> fetcher_;
106 LoadState load_state_; 106 LoadState load_state_;
107 FetchState fetch_state_; 107 FetchState fetch_state_;
108 108
109 content::NotificationRegistrar registrar_; 109 content::NotificationRegistrar registrar_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxNavigationObserver); 111 DISALLOW_COPY_AND_ASSIGN(ChromeOmniboxNavigationObserver);
112 }; 112 };
113 113
114 #endif // CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_NAVIGATION_OBSERVER_H_ 114 #endif // CHROME_BROWSER_UI_OMNIBOX_CHROME_OMNIBOX_NAVIGATION_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698