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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.h

Issue 843453002: Replace NULL with nullptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync w/master, code review feedback. Created 5 years, 11 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
« no previous file with comments | « no previous file | extensions/browser/api/cast_channel/cast_channel_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/cast_channel_api.h
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.h b/extensions/browser/api/cast_channel/cast_channel_api.h
index ab0eaa2c54fc7917fcd41a2f2267a87aba669ec5..ad23380b29b2dc4752b12ba72d1ebe4f53bd4d05 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.h
+++ b/extensions/browser/api/cast_channel/cast_channel_api.h
@@ -59,7 +59,7 @@ class CastChannelAPI : public BrowserContextKeyedAPI {
void SetSocketForTest(scoped_ptr<cast_channel::CastSocket> socket_for_test);
// Returns a test CastSocket instance, if it is defined.
- // Otherwise returns a scoped_ptr with a NULL ptr value.
+ // Otherwise returns a scoped_ptr with a nullptr value.
scoped_ptr<cast_channel::CastSocket> GetSocketForTest();
// Returns the API browser context.
@@ -176,7 +176,7 @@ class CastChannelOpenFunction : public CastChannelAsyncApiFunction {
cast_channel::ConnectInfo* connect_info);
// Validates that |connect_info| represents a valid IP end point and returns a
- // new IPEndPoint if so. Otherwise returns NULL.
+ // new IPEndPoint if so. Otherwise returns nullptr.
static net::IPEndPoint* ParseConnectInfo(
const cast_channel::ConnectInfo& connect_info);
« no previous file with comments | « no previous file | extensions/browser/api/cast_channel/cast_channel_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698