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

Unified Diff: content/browser/site_instance.h

Issue 9147051: Don't swap processes for javascript: URLs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed the unit test and restored the function to not be virtual. Created 8 years, 11 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
« no previous file with comments | « no previous file | content/browser/site_instance.cc » ('j') | content/browser/site_instance_unittest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/site_instance.h
diff --git a/content/browser/site_instance.h b/content/browser/site_instance.h
index b85aa9ad4050882b08171fa53bac56497430bedc..42ab12c375f0870ec998ad5622b22f0a8f89ee51 100644
--- a/content/browser/site_instance.h
+++ b/content/browser/site_instance.h
@@ -74,6 +74,7 @@ class CONTENT_EXPORT SiteInstance : public base::RefCounted<SiteInstance>,
}
// Whether this SiteInstance has a running process associated with it.
+ // Virtual to allow tests to extend it.
Charlie Reis 2012/01/13 18:37:46 No longer need this comment.
nasko 2012/01/13 20:54:49 Done.
bool HasProcess() const;
// Returns the current process being used to render pages in this
« no previous file with comments | « no previous file | content/browser/site_instance.cc » ('j') | content/browser/site_instance_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698