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

Side by Side Diff: chrome/browser/browser_main.cc

Issue 12418: Implement History as HTML and add/change a bunch of stuff to make it easier t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_resources.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <windows.h> 5 #include <windows.h>
6 #include <shellapi.h> 6 #include <shellapi.h>
7 7
8 #include <algorithm> 8 #include <algorithm>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 win_util::ScopedCOMInitializer com_initializer; 500 win_util::ScopedCOMInitializer com_initializer;
501 501
502 // Init the RLZ library. This just binds the dll and schedules a task on the 502 // Init the RLZ library. This just binds the dll and schedules a task on the
503 // file thread to be run sometime later. If this is the first run we record 503 // file thread to be run sometime later. If this is the first run we record
504 // the installation event. 504 // the installation event.
505 RLZTracker::InitRlzDelayed(base::DIR_MODULE, is_first_run); 505 RLZTracker::InitRlzDelayed(base::DIR_MODULE, is_first_run);
506 506
507 // Config the network module so it has access to resources. 507 // Config the network module so it has access to resources.
508 net::NetModule::SetResourceProvider(NetResourceProvider); 508 net::NetModule::SetResourceProvider(NetResourceProvider);
509 509
510 // Register our global network handler for chrome-resource:// URLs. 510 // Register our global network handler for chrome:// URLs.
511 RegisterURLRequestChromeJob(); 511 RegisterURLRequestChromeJob();
512 512
513 browser_process->InitBrokerServices(broker_services); 513 browser_process->InitBrokerServices(broker_services);
514 514
515 // In unittest mode, this will do nothing. In normal mode, this will create 515 // In unittest mode, this will do nothing. In normal mode, this will create
516 // the global GoogleURLTracker instance, which will promptly go to sleep for 516 // the global GoogleURLTracker instance, which will promptly go to sleep for
517 // five seconds (to avoid slowing startup), and wake up afterwards to see if 517 // five seconds (to avoid slowing startup), and wake up afterwards to see if
518 // it should do anything else. If we don't cause this creation now, it won't 518 // it should do anything else. If we don't cause this creation now, it won't
519 // happen until someone else asks for the tracker, at which point we may no 519 // happen until someone else asks for the tracker, at which point we may no
520 // longer want to sleep for five seconds. 520 // longer want to sleep for five seconds.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 // The following should ONLY be called when in single threaded mode. It is 600 // The following should ONLY be called when in single threaded mode. It is
601 // unsafe to do this cleanup if other threads are still active. 601 // unsafe to do this cleanup if other threads are still active.
602 // It is also very unnecessary, so I'm only doing this in debug to satisfy 602 // It is also very unnecessary, so I'm only doing this in debug to satisfy
603 // purify. 603 // purify.
604 if (tracking_objects) 604 if (tracking_objects)
605 tracked_objects::ThreadData::ShutdownSingleThreadedCleanup(); 605 tracked_objects::ThreadData::ShutdownSingleThreadedCleanup();
606 #endif // NDEBUG 606 #endif // NDEBUG
607 607
608 return result_code; 608 return result_code;
609 } 609 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_about_handler.cc ('k') | chrome/browser/browser_resources.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698