OLD | NEW |
---|---|
(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 | |
OLD | NEW |