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

Unified Diff: chrome/test/pyautolib/pyautolib.h

Issue 8414020: Expose the sandbox related code through the content API. I did a bit of cleanup while I was doing... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/test/pyautolib/pyautolib.h
===================================================================
--- chrome/test/pyautolib/pyautolib.h (revision 107639)
+++ chrome/test/pyautolib/pyautolib.h (working copy)
@@ -10,11 +10,14 @@
#pragma once
#include "base/message_loop.h"
-#include "base/mac/scoped_nsautorelease_pool.h"
#include "base/test/test_timeouts.h"
#include "chrome/test/ui/ui_test.h"
#include "chrome/test/ui/ui_test_suite.h"
+#if defined(OS_MACOSX)
+#include "base/mac/scoped_nsautorelease_pool.h"
+#endif
+
// The C++ style guide forbids using default arguments but I'm taking the
// liberty of allowing it in this file. The sole purpose of this (and the
// .cc) is to support the python interface, and default args are allowed in
@@ -33,7 +36,9 @@
void SetCrSourceRoot(const FilePath& path);
private:
+#if defined(OS_MACOSX)
base::mac::ScopedNSAutoreleasePool pool_;
+#endif
};
// The primary class that interfaces with Automation Proxy.

Powered by Google App Engine
This is Rietveld 408576698