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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_FIRST_RUN_FIRST_RUN_BROWSER_PROCESS_H_ 6 #define CHROME_BROWSER_FIRST_RUN_FIRST_RUN_BROWSER_PROCESS_H_ 7 #pragma once 8 9 #include "base/basictypes.h" 10 #include "base/compiler_specific.h" 11 #include "chrome/browser/browser_process_impl.h" 12 13 // A subclass of BrowserProcessImpl that does not have a GoogleURLTracker or 14 // IntranetRedirectDetector so we don't do any URL fetches (as we have no IO 15 // thread to fetch on). 16 class FirstRunBrowserProcess : public BrowserProcessImpl { 17 public: 18 explicit FirstRunBrowserProcess(const CommandLine& command_line); 19 virtual ~FirstRunBrowserProcess(); 20 21 // BrowserProcessImpl: 22 virtual GoogleURLTracker* google_url_tracker() OVERRIDE; 23 virtual IntranetRedirectDetector* intranet_redirect_detector() OVERRIDE; 24 25 private: 26 DISALLOW_COPY_AND_ASSIGN(FirstRunBrowserProcess); 27 }; 28 29 #endif // CHROME_BROWSER_FIRST_RUN_FIRST_RUN_BROWSER_PROCESS_H_ 30