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

Side by Side Diff: content/test/content_browser_sanity_checker.h

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_TEST_CONTENT_BROWSER_SANITY_CHECKER_H_ 5 #ifndef CONTENT_TEST_CONTENT_BROWSER_SANITY_CHECKER_H_
6 #define CONTENT_TEST_CONTENT_BROWSER_SANITY_CHECKER_H_ 6 #define CONTENT_TEST_CONTENT_BROWSER_SANITY_CHECKER_H_
7 7
8 #include "base/basictypes.h"
9 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 class WebContents; 13 class WebContents;
14 14
15 // While an instance of this class exists, a bunch of sanity-checks are enabled 15 // While an instance of this class exists, a bunch of sanity-checks are enabled
16 // to validate the correctness of the browser side of the content layer 16 // to validate the correctness of the browser side of the content layer
17 // implementation. It's good to enable these in both unit tests and browser 17 // implementation. It's good to enable these in both unit tests and browser
18 // tests, as a means of detecting bugs in the implementation of the content api. 18 // tests, as a means of detecting bugs in the implementation of the content api.
19 // 19 //
(...skipping 13 matching lines...) Expand all
33 33
34 // The callback needs to be cached so that it can be unregistered. 34 // The callback needs to be cached so that it can be unregistered.
35 base::Callback<void(WebContents*)> creation_hook_; 35 base::Callback<void(WebContents*)> creation_hook_;
36 36
37 DISALLOW_COPY_AND_ASSIGN(ContentBrowserSanityChecker); 37 DISALLOW_COPY_AND_ASSIGN(ContentBrowserSanityChecker);
38 }; 38 };
39 39
40 } // namespace content 40 } // namespace content
41 41
42 #endif // CONTENT_TEST_CONTENT_BROWSER_SANITY_CHECKER_H_ 42 #endif // CONTENT_TEST_CONTENT_BROWSER_SANITY_CHECKER_H_
OLDNEW
« no previous file with comments | « content/test/browser_test_utils_browsertest.cc ('k') | content/test/content_browser_test_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698