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

Unified Diff: content/browser/tab_contents/tab_contents.h

Issue 7523042: Add a status message "Waiting for extension Foo..." when there's a request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/tab_contents/tab_contents.h
diff --git a/content/browser/tab_contents/tab_contents.h b/content/browser/tab_contents/tab_contents.h
index a2eb522a89f17d7982d6076b33343acc19a7031c..e510330709c36ddbe5d3652bd561c360ea262bfe 100644
--- a/content/browser/tab_contents/tab_contents.h
+++ b/content/browser/tab_contents/tab_contents.h
@@ -181,8 +181,8 @@ class TabContents : public PageNavigator,
// "waiting" or "loading."
bool waiting_for_response() const { return waiting_for_response_; }
- net::LoadState load_state() const { return load_state_; }
- string16 load_state_host() const { return load_state_host_; }
+ const net::LoadStateWithParam& load_state() const { return load_state_; }
+ const string16& load_state_host() const { return load_state_host_; }
eroman 2011/08/05 01:54:22 I wander if this can be worked into LoadStateWithP
Matt Perry 2011/08/08 22:14:33 I think it could, as long as we're OK with a speci
uint64 upload_size() const { return upload_size_; }
uint64 upload_position() const { return upload_position_; }
@@ -681,7 +681,7 @@ class TabContents : public PageNavigator,
bool is_during_unload) OVERRIDE;
virtual void RendererResponsive(RenderViewHost* render_view_host) OVERRIDE;
virtual void LoadStateChanged(const GURL& url,
- net::LoadState load_state,
+ const net::LoadStateWithParam& load_state,
uint64 upload_position,
uint64 upload_size) OVERRIDE;
virtual void WorkerCrashed() OVERRIDE;
@@ -773,7 +773,7 @@ class TabContents : public PageNavigator,
base::TimeTicks current_load_start_;
// The current load state and the URL associated with it.
- net::LoadState load_state_;
+ net::LoadStateWithParam load_state_;
string16 load_state_host_;
// Upload progress, for displaying in the status bar.
// Set to zero when there is no significant upload happening.

Powered by Google App Engine
This is Rietveld 408576698