Remove the check for inspector files since they're in resources.pak now.

In r79038, I moved the inspector files into resources.pak so we no longer
need to check to see if inspector is available (it should always be
there).

Also fix chrome --diagnostics to check for resources.pak rather
than the resources/Inspector dir.

BUG=77167
TEST=Delete resources/inspector from disk, start chrome and right click on a
  page.  Inspect Element should be there and work.

Review URL: http://codereview.chromium.org/6726027

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79170 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 06739bc..a40e280 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -118,8 +118,7 @@
       module_ref_count_(0),
       did_start_(false),
       checked_for_new_frames_(false),
-      using_new_frames_(false),
-      have_inspector_files_(true) {
+      using_new_frames_(false) {
   g_browser_process = this;
   clipboard_.reset(new ui::Clipboard);
   main_notification_service_.reset(new NotificationService);
@@ -613,12 +612,6 @@
   return *plugin_finder_disabled_pref_;
 }
 
-void BrowserProcessImpl::CheckForInspectorFiles() {
-  file_thread()->message_loop()->PostTask
-      (FROM_HERE,
-       NewRunnableMethod(this, &BrowserProcessImpl::DoInspectorFilesCheck));
-}
-
 void BrowserProcessImpl::Observe(NotificationType type,
                                  const NotificationSource& source,
                                  const NotificationDetails& details) {
@@ -659,10 +652,6 @@
 }
 #endif
 
-bool BrowserProcessImpl::have_inspector_files() const {
-  return have_inspector_files_;
-}
-
 ChromeNetLog* BrowserProcessImpl::net_log() {
   return net_log_.get();
 }
@@ -996,19 +985,6 @@
 
 #endif  // IPC_MESSAGE_LOG_ENABLED
 
-void BrowserProcessImpl::DoInspectorFilesCheck() {
-  // Runs on FILE thread.
-  DCHECK(file_thread_->message_loop() == MessageLoop::current());
-  bool result = false;
-
-  FilePath inspector_dir;
-  if (PathService::Get(chrome::DIR_INSPECTOR, &inspector_dir)) {
-    result = file_util::PathExists(inspector_dir);
-  }
-
-  have_inspector_files_ = result;
-}
-
 // Mac is currently not supported.
 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)