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

Unified Diff: chrome/browser/extensions/api/serial/serial_event_dispatcher.h

Issue 182213005: Move api_resource{,manager} out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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/extensions/api/serial/serial_event_dispatcher.h
diff --git a/chrome/browser/extensions/api/serial/serial_event_dispatcher.h b/chrome/browser/extensions/api/serial/serial_event_dispatcher.h
index 83b8938866c8453f29102483985619519016afed..49abfd7d9d905fd0ac5cad2a1d7bbc787667ff91 100644
--- a/chrome/browser/extensions/api/serial/serial_event_dispatcher.h
+++ b/chrome/browser/extensions/api/serial/serial_event_dispatcher.h
@@ -5,8 +5,8 @@
#ifndef CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_EVENT_DISPATCHER_H_
#define CHROME_BROWSER_EXTENSIONS_API_SERIAL_SERIAL_EVENT_DISPATCHER_H_
-#include "chrome/browser/extensions/api/api_resource_manager.h"
#include "chrome/common/extensions/api/serial.h"
+#include "extensions/browser/api/api_resource_manager.h"
class Profile;
@@ -37,9 +37,7 @@ class SerialEventDispatcher : public BrowserContextKeyedAPI {
friend class BrowserContextKeyedAPIFactory<SerialEventDispatcher>;
// BrowserContextKeyedAPI implementation.
- static const char *service_name() {
- return "SerialEventDispatcher";
- }
+ static const char* service_name() { return "SerialEventDispatcher"; }
static const bool kServiceHasOwnInstanceInIncognito = true;
static const bool kServiceIsNULLWhileTesting = true;
@@ -63,7 +61,7 @@ class SerialEventDispatcher : public BrowserContextKeyedAPI {
static void PostEvent(const ReceiveParams& params,
scoped_ptr<extensions::Event> event);
- static void DispatchEvent(void *profile_id,
+ static void DispatchEvent(void* profile_id,
const std::string& extension_id,
scoped_ptr<extensions::Event> event);
« no previous file with comments | « chrome/browser/extensions/api/serial/serial_connection.cc ('k') | chrome/browser/extensions/api/socket/socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698