OLD | NEW |
1 // Copyright (c) 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_ALTERNATE_NAV_URL_FETCHER_H_ | 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_URL_FETCHER_H_ |
6 #define CHROME_BROWSER_ALTERNATE_NAV_URL_FETCHER_H_ | 6 #define CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_URL_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "content/public/browser/notification_observer.h" | 11 #include "content/public/browser/notification_observer.h" |
12 #include "content/public/browser/notification_registrar.h" | 12 #include "content/public/browser/notification_registrar.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 #include "net/url_request/url_fetcher_delegate.h" | 14 #include "net/url_request/url_fetcher_delegate.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 scoped_ptr<net::URLFetcher> fetcher_; | 82 scoped_ptr<net::URLFetcher> fetcher_; |
83 content::NavigationController* controller_; | 83 content::NavigationController* controller_; |
84 State state_; | 84 State state_; |
85 bool navigated_to_entry_; | 85 bool navigated_to_entry_; |
86 | 86 |
87 content::NotificationRegistrar registrar_; | 87 content::NotificationRegistrar registrar_; |
88 | 88 |
89 DISALLOW_COPY_AND_ASSIGN(AlternateNavURLFetcher); | 89 DISALLOW_COPY_AND_ASSIGN(AlternateNavURLFetcher); |
90 }; | 90 }; |
91 | 91 |
92 #endif // CHROME_BROWSER_ALTERNATE_NAV_URL_FETCHER_H_ | 92 #endif // CHROME_BROWSER_UI_OMNIBOX_ALTERNATE_NAV_URL_FETCHER_H_ |
OLD | NEW |