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

Unified Diff: chrome/browser/ui/webui/extensions/extension_error_ui_util.h

Issue 973303002: [Extensions] Make chrome://extensions use developerPrivate for error calls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/extensions/extension_error_ui_util.h
diff --git a/chrome/browser/ui/webui/extensions/extension_error_ui_util.h b/chrome/browser/ui/webui/extensions/extension_error_ui_util.h
deleted file mode 100644
index 249da6350a253df812361f80cb9531493a61ff56..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/extensions/extension_error_ui_util.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
-#define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_
-
-#include "base/callback.h"
-
-class Profile;
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace extensions {
-namespace error_ui_util {
-
-typedef base::Callback<void(const base::DictionaryValue&)>
- RequestFileSourceCallback;
-
-// Read an extension's file which caused an error. |args| specifies the file to
-// be read and extra details about the file, |profile| is the active profile to
-// use, and |response| is called upon completed.
-void HandleRequestFileSource(const base::DictionaryValue* args,
- Profile* profile,
- const RequestFileSourceCallback& response);
-
-// Open the Developer Tools to inspect an error caused by an extension. |args|
-// specify the context in which the error occurred.
-void HandleOpenDevTools(const base::DictionaryValue* args);
-
-} // namespace error_ui_util
-} // namespace extensions
-
-#endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_UI_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698