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

Side by Side Diff: chrome/browser/extensions/extension_host.cc

Issue 3412016: FBTF: Move a bunch of code to the headers and remove includes. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Rebase + fixed windows issues locally Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/extensions/extension_host.h" 5 #include "chrome/browser/extensions/extension_host.h"
6 6
7 #include <list> 7 #include <list>
8 8
9 #include "app/keyboard_codes.h" 9 #include "app/keyboard_codes.h"
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h" 11 #include "app/resource_bundle.h"
12 #include "base/histogram.h"
12 #include "base/message_loop.h" 13 #include "base/message_loop.h"
13 #include "base/singleton.h" 14 #include "base/singleton.h"
14 #include "base/string_util.h" 15 #include "base/string_util.h"
15 #include "chrome/browser/browser.h" 16 #include "chrome/browser/browser.h"
16 #include "chrome/browser/browser_list.h" 17 #include "chrome/browser/browser_list.h"
17 #include "chrome/browser/browser_shutdown.h" 18 #include "chrome/browser/browser_shutdown.h"
18 #include "chrome/browser/browser_window.h" 19 #include "chrome/browser/browser_window.h"
19 #include "chrome/browser/browsing_instance.h" 20 #include "chrome/browser/browsing_instance.h"
20 #include "chrome/browser/debugger/devtools_manager.h" 21 #include "chrome/browser/debugger/devtools_manager.h"
21 #include "chrome/browser/dom_ui/dom_ui_factory.h" 22 #include "chrome/browser/dom_ui/dom_ui_factory.h"
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 // Extensions hosted in ExternalTabContainer objects may not have 718 // Extensions hosted in ExternalTabContainer objects may not have
718 // an associated browser. 719 // an associated browser.
719 Browser* browser = GetBrowser(); 720 Browser* browser = GetBrowser();
720 if (browser) 721 if (browser)
721 window_id = ExtensionTabUtil::GetWindowId(browser); 722 window_id = ExtensionTabUtil::GetWindowId(browser);
722 } else if (extension_host_type_ != ViewType::EXTENSION_BACKGROUND_PAGE) { 723 } else if (extension_host_type_ != ViewType::EXTENSION_BACKGROUND_PAGE) {
723 NOTREACHED(); 724 NOTREACHED();
724 } 725 }
725 return window_id; 726 return window_id;
726 } 727 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/url_request_automation_job.cc ('k') | chrome/browser/net/sqlite_persistent_cookie_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698