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

Side by Side Diff: base/test/main_hook.h

Issue 10690161: Make it possible to run gtests on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@presubmit_change
Patch Set: Created 8 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "build/build_config.h"
6 #include "base/basictypes.h"
7
8 class MainHook {
stuartmorgan 2012/07/12 09:36:31 Needs a class level comment (just explaining that
leng 2012/07/12 10:44:42 Done.
9 public:
stuartmorgan 2012/07/12 09:36:31 Indent 1
leng 2012/07/12 10:44:42 Done.
10 typedef int (*MainType)(int, char*[]);
11 MainHook(MainType main_func, int argc, char* argv[])
12 #if !defined(OS_IOS)
stuartmorgan 2012/07/12 09:36:31 While it seems a bit silly, I think it would proba
leng 2012/07/12 10:44:42 Done.
13 {}
14 #else
15 ;
16 #endif
17 private:
stuartmorgan 2012/07/12 09:36:31 Indent 1
leng 2012/07/12 10:44:42 Done.
18 DISALLOW_COPY_AND_ASSIGN(MainHook);
19 };
20
OLDNEW
« no previous file with comments | « base/base.gyp ('k') | base/test/main_hook_ios.mm » ('j') | base/test/main_hook_ios.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698