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

Unified Diff: chrome/browser/chromeos/launcher_search_provider/error_reporter.h

Issue 1060733003: Support custom icon in search result. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename icon_image to image. Created 5 years, 8 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/chromeos/launcher_search_provider/error_reporter.h
diff --git a/chrome/browser/chromeos/launcher_search_provider/error_reporter.h b/chrome/browser/chromeos/launcher_search_provider/error_reporter.h
new file mode 100644
index 0000000000000000000000000000000000000000..76e0ddd89211ed944500386437d33e8293041bb3
--- /dev/null
+++ b/chrome/browser/chromeos/launcher_search_provider/error_reporter.h
@@ -0,0 +1,30 @@
+// Copyright 2015 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_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_
+#define CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_
+
+#include <string>
+
+#include "ipc/ipc_sender.h"
+
+namespace chromeos {
+namespace launcher_search_provider {
+
+class ErrorReporter {
satorux1 2015/04/24 01:31:18 class comment is missing
yawano 2015/05/01 06:09:54 Done.
+ public:
+ ErrorReporter(IPC::Sender* sender, const int routing_id);
+
+ // Shows |message| as warning in the developer console of the extension.
+ void Warn(const std::string& message);
+
+ private:
Matt Giuca 2015/04/24 04:26:46 DISALLOW_COPY_AND_ASSIGN
yawano 2015/05/01 06:09:54 Done.
+ IPC::Sender* sender_;
satorux1 2015/04/24 01:31:18 is this owned by the class? if so, add "// Owned".
yawano 2015/05/01 06:09:54 Done.
+ const int routing_id_;
+};
+
+} // namespace launcher_search_provider
+} // namespace chromeos
+
+#endif // CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_

Powered by Google App Engine
This is Rietveld 408576698