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

Unified Diff: chrome/browser/browser_process.h

Issue 174162: Don't show "Inspect Element" in the context menu if we can't inspect. (Closed)
Patch Set: ... Created 11 years, 4 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 | « chrome/browser/browser_main.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process.h
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index 281e330e1a9b09f5c56cebf8df8ecf123b6fde1a..ba24f6cc4c6cb1671c5406c607240d6428efdc89 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -138,6 +138,15 @@ class BrowserProcess {
return user_data_dir_profiles_;
}
+ // Trigger an asynchronous check to see if we have the inspector's files on
+ // disk.
+ virtual void CheckForInspectorFiles() = 0;
+
+ // Return true iff we found the inspector files on disk. It's possible to
+ // call this function before we have a definite answer from the disk. In that
+ // case, we default to returning true.
+ virtual bool have_inspector_files() const = 0;
+
private:
// User-data-dir based profiles.
std::vector<std::wstring> user_data_dir_profiles_;
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698