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

Side by Side Diff: extensions/renderer/api_activity_logger.h

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef EXTENSIONS_RENDERER_API_ACTIVITY_LOGGER_H_ 5 #ifndef EXTENSIONS_RENDERER_API_ACTIVITY_LOGGER_H_
6 #define EXTENSIONS_RENDERER_API_ACTIVITY_LOGGER_H_ 6 #define EXTENSIONS_RENDERER_API_ACTIVITY_LOGGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h"
10 #include "extensions/common/features/feature.h" 11 #include "extensions/common/features/feature.h"
11 #include "extensions/renderer/object_backed_native_handler.h" 12 #include "extensions/renderer/object_backed_native_handler.h"
12 #include "v8/include/v8.h" 13 #include "v8/include/v8.h"
13 14
14 namespace extensions { 15 namespace extensions {
15 16
16 // Used to log extension API calls and events that are implemented with custom 17 // Used to log extension API calls and events that are implemented with custom
17 // bindings.The actions are sent via IPC to extensions::ActivityLog for 18 // bindings.The actions are sent via IPC to extensions::ActivityLog for
18 // recording and display. 19 // recording and display.
19 class APIActivityLogger : public ObjectBackedNativeHandler { 20 class APIActivityLogger : public ObjectBackedNativeHandler {
(...skipping 22 matching lines...) Expand all
42 // how they are ultimately dispatched to the log. 43 // how they are ultimately dispatched to the log.
43 static void LogInternal(const CallType call_type, 44 static void LogInternal(const CallType call_type,
44 const v8::FunctionCallbackInfo<v8::Value>& args); 45 const v8::FunctionCallbackInfo<v8::Value>& args);
45 46
46 DISALLOW_COPY_AND_ASSIGN(APIActivityLogger); 47 DISALLOW_COPY_AND_ASSIGN(APIActivityLogger);
47 }; 48 };
48 49
49 } // namespace extensions 50 } // namespace extensions
50 51
51 #endif // EXTENSIONS_RENDERER_API_ACTIVITY_LOGGER_H_ 52 #endif // EXTENSIONS_RENDERER_API_ACTIVITY_LOGGER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/api/serial/serial_api_unittest.cc ('k') | extensions/renderer/api_activity_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698