OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_ | |
6 #define CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "ipc/ipc_sender.h" | |
11 | |
12 namespace chromeos { | |
13 namespace launcher_search_provider { | |
14 | |
15 class ErrorReporter { | |
satorux1
2015/04/24 01:31:18
class comment is missing
yawano
2015/05/01 06:09:54
Done.
| |
16 public: | |
17 ErrorReporter(IPC::Sender* sender, const int routing_id); | |
18 | |
19 // Shows |message| as warning in the developer console of the extension. | |
20 void Warn(const std::string& message); | |
21 | |
22 private: | |
Matt Giuca
2015/04/24 04:26:46
DISALLOW_COPY_AND_ASSIGN
yawano
2015/05/01 06:09:54
Done.
| |
23 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.
| |
24 const int routing_id_; | |
25 }; | |
26 | |
27 } // namespace launcher_search_provider | |
28 } // namespace chromeos | |
29 | |
30 #endif // CHROME_BROWSER_CHROMEOS_LAUNCHER_SEARCH_PROVIDER_ERROR_REPORTER_H_ | |
OLD | NEW |