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

Side by Side Diff: chrome/browser/alternate_nav_url_fetcher.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/accessibility_events.cc ('k') | chrome/browser/alternate_nav_url_fetcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_ALTERNATE_NAV_URL_FETCHER_H_
6 #define CHROME_BROWSER_ALTERNATE_NAV_URL_FETCHER_H_ 6 #define CHROME_BROWSER_ALTERNATE_NAV_URL_FETCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 29 matching lines...) Expand all
40 FAILED, 40 FAILED,
41 }; 41 };
42 42
43 explicit AlternateNavURLFetcher(const GURL& alternate_nav_url); 43 explicit AlternateNavURLFetcher(const GURL& alternate_nav_url);
44 virtual ~AlternateNavURLFetcher(); 44 virtual ~AlternateNavURLFetcher();
45 45
46 State state() const { return state_; } 46 State state() const { return state_; }
47 47
48 private: 48 private:
49 // NotificationObserver 49 // NotificationObserver
50 virtual void Observe(NotificationType type, 50 virtual void Observe(int type,
51 const NotificationSource& source, 51 const NotificationSource& source,
52 const NotificationDetails& details) OVERRIDE; 52 const NotificationDetails& details) OVERRIDE;
53 53
54 // URLFetcher::Delegate 54 // URLFetcher::Delegate
55 virtual void OnURLFetchComplete(const URLFetcher* source, 55 virtual void OnURLFetchComplete(const URLFetcher* source,
56 const GURL& url, 56 const GURL& url,
57 const net::URLRequestStatus& status, 57 const net::URLRequestStatus& status,
58 int response_code, 58 int response_code,
59 const net::ResponseCookies& cookies, 59 const net::ResponseCookies& cookies,
60 const std::string& data) OVERRIDE; 60 const std::string& data) OVERRIDE;
(...skipping 23 matching lines...) Expand all
84 84
85 // The TabContents the InfoBarDelegate was added to. 85 // The TabContents the InfoBarDelegate was added to.
86 TabContents* infobar_contents_; 86 TabContents* infobar_contents_;
87 87
88 NotificationRegistrar registrar_; 88 NotificationRegistrar registrar_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(AlternateNavURLFetcher); 90 DISALLOW_COPY_AND_ASSIGN(AlternateNavURLFetcher);
91 }; 91 };
92 92
93 #endif // CHROME_BROWSER_ALTERNATE_NAV_URL_FETCHER_H_ 93 #endif // CHROME_BROWSER_ALTERNATE_NAV_URL_FETCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/accessibility_events.cc ('k') | chrome/browser/alternate_nav_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698