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

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

Issue 7307: Reduce header dependencies. (Closed)
Patch Set: retry Created 12 years, 2 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | no next file » | 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 "chrome/browser/web_contents.h" 5 #include "chrome/browser/web_contents.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/file_version_info.h" 9 #include "base/file_version_info.h"
10 #include "base/process_util.h"
10 #include "chrome/app/locales/locale_settings.h" 11 #include "chrome/app/locales/locale_settings.h"
11 #include "chrome/browser/bookmarks/bookmark_model.h" 12 #include "chrome/browser/bookmarks/bookmark_model.h"
12 #include "chrome/browser/browser.h" 13 #include "chrome/browser/browser.h"
13 #include "chrome/browser/cache_manager_host.h" 14 #include "chrome/browser/cache_manager_host.h"
14 #include "chrome/browser/character_encoding.h" 15 #include "chrome/browser/character_encoding.h"
15 #include "chrome/browser/dom_operation_notification_details.h" 16 #include "chrome/browser/dom_operation_notification_details.h"
16 #include "chrome/browser/download/download_manager.h" 17 #include "chrome/browser/download/download_manager.h"
17 #include "chrome/browser/download/download_request_manager.h" 18 #include "chrome/browser/download/download_request_manager.h"
18 #include "chrome/browser/find_notification_details.h" 19 #include "chrome/browser/find_notification_details.h"
19 #include "chrome/browser/google_util.h" 20 #include "chrome/browser/google_util.h"
(...skipping 1721 matching lines...) Expand 10 before | Expand all | Expand 10 after
1741 // The favicon url isn't valid. This means there really isn't a favicon, 1742 // The favicon url isn't valid. This means there really isn't a favicon,
1742 // or the favicon url wasn't obtained before the load started. This assumes 1743 // or the favicon url wasn't obtained before the load started. This assumes
1743 // the later. 1744 // the later.
1744 // TODO(sky): Need a way to set the favicon that doesn't involve generating 1745 // TODO(sky): Need a way to set the favicon that doesn't involve generating
1745 // its url. 1746 // its url.
1746 new_url->SetFavIconURL(TemplateURL::GenerateFaviconURL(params.referrer)); 1747 new_url->SetFavIconURL(TemplateURL::GenerateFaviconURL(params.referrer));
1747 } 1748 }
1748 new_url->set_safe_for_autoreplace(true); 1749 new_url->set_safe_for_autoreplace(true);
1749 url_model->Add(new_url); 1750 url_model->Add(new_url);
1750 } 1751 }
OLDNEW
« no previous file with comments | « chrome/browser/browser_main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698