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

Unified Diff: base/nullptr.cc

Issue 11411318: DO NOT COMMIT: NullPtr support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: WIP Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/nullptr.h ('k') | base/nullptr_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/nullptr.cc
diff --git a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js b/base/nullptr.cc
similarity index 66%
copy from chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
copy to base/nullptr.cc
index d0f305ef89a07f21e9ac69a38e54f16877364fc4..c3c36c42ba48e7ac4673f562357b72e7209c9684 100644
--- a/chrome/test/data/extensions/api_test/content_scripts/other_extensions/injector/background.js
+++ b/base/nullptr.cc
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-console.log('INJECTOR: Loaded injector!');
+#include "base/nullptr.h"
-chrome.tabs.create({ url: "test.html" });
+namespace base {
+
+nullptr_t NullPtr;
+
+} // namespace base
« no previous file with comments | « base/nullptr.h ('k') | base/nullptr_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698