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

Side by Side Diff: chrome/browser/extensions/api/debugger/debugger_api.cc

Issue 469993006: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 Debugger API. 5 // Implements the Chrome Extensions Debugger API.
6 6
7 #include "chrome/browser/extensions/api/debugger/debugger_api.h" 7 #include "chrome/browser/extensions/api/debugger/debugger_api.h"
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 10 matching lines...) Expand all
21 #include "base/values.h" 21 #include "base/values.h"
22 #include "chrome/browser/chrome_notification_types.h" 22 #include "chrome/browser/chrome_notification_types.h"
23 #include "chrome/browser/devtools/devtools_target_impl.h" 23 #include "chrome/browser/devtools/devtools_target_impl.h"
24 #include "chrome/browser/extensions/api/debugger/debugger_api_constants.h" 24 #include "chrome/browser/extensions/api/debugger/debugger_api_constants.h"
25 #include "chrome/browser/extensions/extension_service.h" 25 #include "chrome/browser/extensions/extension_service.h"
26 #include "chrome/browser/extensions/extension_tab_util.h" 26 #include "chrome/browser/extensions/extension_tab_util.h"
27 #include "chrome/browser/infobars/infobar_service.h" 27 #include "chrome/browser/infobars/infobar_service.h"
28 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h" 29 #include "chrome/browser/ui/webui/chrome_web_ui_controller_factory.h"
30 #include "chrome/common/chrome_switches.h" 30 #include "chrome/common/chrome_switches.h"
31 #include "chrome/grit/generated_resources.h"
31 #include "components/infobars/core/confirm_infobar_delegate.h" 32 #include "components/infobars/core/confirm_infobar_delegate.h"
32 #include "components/infobars/core/infobar.h" 33 #include "components/infobars/core/infobar.h"
33 #include "content/public/browser/devtools_agent_host.h" 34 #include "content/public/browser/devtools_agent_host.h"
34 #include "content/public/browser/devtools_http_handler.h" 35 #include "content/public/browser/devtools_http_handler.h"
35 #include "content/public/browser/notification_service.h" 36 #include "content/public/browser/notification_service.h"
36 #include "content/public/browser/notification_source.h" 37 #include "content/public/browser/notification_source.h"
37 #include "content/public/browser/render_process_host.h" 38 #include "content/public/browser/render_process_host.h"
38 #include "content/public/browser/render_view_host.h" 39 #include "content/public/browser/render_view_host.h"
39 #include "content/public/browser/render_widget_host.h" 40 #include "content/public/browser/render_widget_host.h"
40 #include "content/public/browser/web_contents.h" 41 #include "content/public/browser/web_contents.h"
41 #include "content/public/common/content_client.h" 42 #include "content/public/common/content_client.h"
42 #include "content/public/common/url_utils.h" 43 #include "content/public/common/url_utils.h"
43 #include "extensions/browser/event_router.h" 44 #include "extensions/browser/event_router.h"
44 #include "extensions/browser/extension_host.h" 45 #include "extensions/browser/extension_host.h"
45 #include "extensions/browser/extension_registry.h" 46 #include "extensions/browser/extension_registry.h"
46 #include "extensions/browser/extension_registry_observer.h" 47 #include "extensions/browser/extension_registry_observer.h"
47 #include "extensions/browser/extension_system.h" 48 #include "extensions/browser/extension_system.h"
48 #include "extensions/common/constants.h" 49 #include "extensions/common/constants.h"
49 #include "extensions/common/error_utils.h" 50 #include "extensions/common/error_utils.h"
50 #include "extensions/common/extension.h" 51 #include "extensions/common/extension.h"
51 #include "extensions/common/manifest_constants.h" 52 #include "extensions/common/manifest_constants.h"
52 #include "extensions/common/permissions/permissions_data.h" 53 #include "extensions/common/permissions/permissions_data.h"
53 #include "extensions/common/switches.h" 54 #include "extensions/common/switches.h"
54 #include "grit/generated_resources.h"
55 #include "ui/base/l10n/l10n_util.h" 55 #include "ui/base/l10n/l10n_util.h"
56 56
57 using content::DevToolsAgentHost; 57 using content::DevToolsAgentHost;
58 using content::DevToolsHttpHandler; 58 using content::DevToolsHttpHandler;
59 using content::RenderProcessHost; 59 using content::RenderProcessHost;
60 using content::RenderViewHost; 60 using content::RenderViewHost;
61 using content::RenderWidgetHost; 61 using content::RenderWidgetHost;
62 using content::WebContents; 62 using content::WebContents;
63 63
64 namespace keys = debugger_api_constants; 64 namespace keys = debugger_api_constants;
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 const std::vector<DevToolsTargetImpl*>& target_list) { 740 const std::vector<DevToolsTargetImpl*>& target_list) {
741 scoped_ptr<base::ListValue> result(new base::ListValue()); 741 scoped_ptr<base::ListValue> result(new base::ListValue());
742 for (size_t i = 0; i < target_list.size(); ++i) 742 for (size_t i = 0; i < target_list.size(); ++i)
743 result->Append(SerializeTarget(*target_list[i])); 743 result->Append(SerializeTarget(*target_list[i]));
744 STLDeleteContainerPointers(target_list.begin(), target_list.end()); 744 STLDeleteContainerPointers(target_list.begin(), target_list.end());
745 SetResult(result.release()); 745 SetResult(result.release());
746 SendResponse(true); 746 SendResponse(true);
747 } 747 }
748 748
749 } // namespace extensions 749 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698