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

Side by Side Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.h

Issue 2009483002: Remove WebMemoryDumpProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 /* 1 /*
2 * Copyright (C) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 TestingPlatformSupport(); 88 TestingPlatformSupport();
89 explicit TestingPlatformSupport(const Config&); 89 explicit TestingPlatformSupport(const Config&);
90 90
91 ~TestingPlatformSupport() override; 91 ~TestingPlatformSupport() override;
92 92
93 // Platform: 93 // Platform:
94 WebString defaultLocale() override; 94 WebString defaultLocale() override;
95 WebCompositorSupport* compositorSupport() override; 95 WebCompositorSupport* compositorSupport() override;
96 WebThread* currentThread() override; 96 WebThread* currentThread() override;
97 void registerMemoryDumpProvider(blink::WebMemoryDumpProvider*, const char* n ame) override {}
98 void unregisterMemoryDumpProvider(blink::WebMemoryDumpProvider*) override {}
99 97
100 protected: 98 protected:
101 const Config m_config; 99 const Config m_config;
102 Platform* const m_oldPlatform; 100 Platform* const m_oldPlatform;
103 }; 101 };
104 102
105 class TestingPlatformSupportWithMockScheduler : public TestingPlatformSupport { 103 class TestingPlatformSupportWithMockScheduler : public TestingPlatformSupport {
106 WTF_MAKE_NONCOPYABLE(TestingPlatformSupportWithMockScheduler); 104 WTF_MAKE_NONCOPYABLE(TestingPlatformSupportWithMockScheduler);
107 public: 105 public:
108 TestingPlatformSupportWithMockScheduler(); 106 TestingPlatformSupportWithMockScheduler();
109 explicit TestingPlatformSupportWithMockScheduler(const Config&); 107 explicit TestingPlatformSupportWithMockScheduler(const Config&);
110 ~TestingPlatformSupportWithMockScheduler() override; 108 ~TestingPlatformSupportWithMockScheduler() override;
111 109
112 // Platform: 110 // Platform:
113 WebThread* currentThread() override; 111 WebThread* currentThread() override;
114 TestingPlatformMockScheduler* mockWebScheduler(); 112 TestingPlatformMockScheduler* mockWebScheduler();
115 113
116 protected: 114 protected:
117 OwnPtr<TestingPlatformMockWebThread> m_mockWebThread; 115 OwnPtr<TestingPlatformMockWebThread> m_mockWebThread;
118 }; 116 };
119 117
120 } // namespace blink 118 } // namespace blink
121 119
122 #endif // TestingPlatformSupport_h 120 #endif // TestingPlatformSupport_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698