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

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_error_handler.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/webui/extensions/extension_error_handler.h" 5 #include "chrome/browser/ui/webui/extensions/extension_error_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/threading/sequenced_worker_pool.h" 9 #include "base/threading/sequenced_worker_pool.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/profiles/profile.h" 11 #include "chrome/browser/profiles/profile.h"
12 #include "chrome/browser/ui/webui/extensions/extension_error_ui_util.h" 12 #include "chrome/browser/ui/webui/extensions/extension_error_ui_util.h"
13 #include "chrome/grit/generated_resources.h"
13 #include "content/public/browser/web_ui.h" 14 #include "content/public/browser/web_ui.h"
14 #include "content/public/browser/web_ui_data_source.h" 15 #include "content/public/browser/web_ui_data_source.h"
15 #include "extensions/common/extension.h" 16 #include "extensions/common/extension.h"
16 #include "grit/generated_resources.h"
17 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
18 18
19 namespace extensions { 19 namespace extensions {
20 20
21 ExtensionErrorHandler::ExtensionErrorHandler(Profile* profile) 21 ExtensionErrorHandler::ExtensionErrorHandler(Profile* profile)
22 : profile_(profile), 22 : profile_(profile),
23 weak_ptr_factory_(this) { 23 weak_ptr_factory_(this) {
24 } 24 }
25 25
26 ExtensionErrorHandler::~ExtensionErrorHandler() { 26 ExtensionErrorHandler::~ExtensionErrorHandler() {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 if (!args->GetDictionary(0, &dict)) { 112 if (!args->GetDictionary(0, &dict)) {
113 NOTREACHED(); 113 NOTREACHED();
114 return; 114 return;
115 } 115 }
116 116
117 error_ui_util::HandleOpenDevTools(dict); 117 error_ui_util::HandleOpenDevTools(dict);
118 } 118 }
119 119
120 } // namespace extensions 120 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/extensions/command_handler.cc ('k') | chrome/browser/ui/webui/extensions/extension_info_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698