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

Side by Side Diff: chrome/browser/extensions/api/web_navigation/web_navigation_api_helpers.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Implements the Chrome Extensions WebNavigation API. 5 // Implements the Chrome Extensions WebNavigation API.
6 6
7 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api_helper s.h" 7 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api_helper s.h"
8 8
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api_consta nts.h" 13 #include "chrome/browser/extensions/api/web_navigation/web_navigation_api_consta nts.h"
14 #include "chrome/browser/extensions/extension_system.h"
15 #include "chrome/browser/extensions/extension_tab_util.h" 14 #include "chrome/browser/extensions/extension_tab_util.h"
16 #include "chrome/browser/profiles/profile.h" 15 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/common/extensions/api/web_navigation.h" 16 #include "chrome/common/extensions/api/web_navigation.h"
18 #include "content/public/browser/render_process_host.h" 17 #include "content/public/browser/render_process_host.h"
19 #include "content/public/browser/render_view_host.h" 18 #include "content/public/browser/render_view_host.h"
20 #include "content/public/browser/web_contents.h" 19 #include "content/public/browser/web_contents.h"
21 #include "content/public/common/page_transition_types.h" 20 #include "content/public/common/page_transition_types.h"
22 #include "extensions/browser/event_router.h" 21 #include "extensions/browser/event_router.h"
22 #include "extensions/browser/extension_system.h"
23 #include "extensions/common/event_filtering_info.h" 23 #include "extensions/common/event_filtering_info.h"
24 #include "net/base/net_errors.h" 24 #include "net/base/net_errors.h"
25 25
26 namespace extensions { 26 namespace extensions {
27 27
28 namespace keys = web_navigation_api_constants; 28 namespace keys = web_navigation_api_constants;
29 namespace web_navigation = api::web_navigation; 29 namespace web_navigation = api::web_navigation;
30 30
31 namespace web_navigation_api_helpers { 31 namespace web_navigation_api_helpers {
32 32
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 DispatchEvent(browser_context, 244 DispatchEvent(browser_context,
245 web_navigation::OnTabReplaced::kEventName, 245 web_navigation::OnTabReplaced::kEventName,
246 args.Pass(), 246 args.Pass(),
247 GURL()); 247 GURL());
248 } 248 }
249 249
250 } // namespace web_navigation_api_helpers 250 } // namespace web_navigation_api_helpers
251 251
252 } // namespace extensions 252 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698