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

Side by Side Diff: content/test/mock_render_process.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
« no previous file with comments | « content/test/mock_keyboard_driver_win.cc ('k') | content/test/mock_webblob_registry_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_MOCK_RENDER_PROCESS_H_ 5 #ifndef CONTENT_TEST_MOCK_RENDER_PROCESS_H_
6 #define CONTENT_TEST_MOCK_RENDER_PROCESS_H_ 6 #define CONTENT_TEST_MOCK_RENDER_PROCESS_H_
7 7
8 #include "base/macros.h"
8 #include "content/renderer/render_process.h" 9 #include "content/renderer/render_process.h"
9 10
10 namespace content { 11 namespace content {
11 // This class is a mock of the child process singleton which we use during 12 // This class is a mock of the child process singleton which we use during
12 // running of the RenderView unit tests. 13 // running of the RenderView unit tests.
13 class MockRenderProcess : public RenderProcess { 14 class MockRenderProcess : public RenderProcess {
14 public: 15 public:
15 MockRenderProcess(); 16 MockRenderProcess();
16 ~MockRenderProcess() override; 17 ~MockRenderProcess() override;
17 18
18 // RenderProcess implementation. 19 // RenderProcess implementation.
19 void AddBindings(int bindings) override; 20 void AddBindings(int bindings) override;
20 int GetEnabledBindings() const override; 21 int GetEnabledBindings() const override;
21 22
22 private: 23 private:
23 int enabled_bindings_; 24 int enabled_bindings_;
24 25
25 DISALLOW_COPY_AND_ASSIGN(MockRenderProcess); 26 DISALLOW_COPY_AND_ASSIGN(MockRenderProcess);
26 }; 27 };
27 28
28 } // namespace content 29 } // namespace content
29 30
30 #endif // CONTENT_TEST_MOCK_RENDER_PROCESS_H_ 31 #endif // CONTENT_TEST_MOCK_RENDER_PROCESS_H_
OLDNEW
« no previous file with comments | « content/test/mock_keyboard_driver_win.cc ('k') | content/test/mock_webblob_registry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698