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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 1787643003: Remove initializeWithoutV8 and shutdownWithoutV8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « third_party/WebKit/Source/web/WebKit.cpp ('k') | third_party/WebKit/public/web/WebKit.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 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 class BLINK_PLATFORM_EXPORT Platform { 128 class BLINK_PLATFORM_EXPORT Platform {
129 public: 129 public:
130 // HTML5 Database ------------------------------------------------------ 130 // HTML5 Database ------------------------------------------------------
131 131
132 #ifdef WIN32 132 #ifdef WIN32
133 typedef HANDLE FileHandle; 133 typedef HANDLE FileHandle;
134 #else 134 #else
135 typedef int FileHandle; 135 typedef int FileHandle;
136 #endif 136 #endif
137 137
138 // Initialize platform and wtf. If you need to initialize the entire Blink,
139 // you should use blink::initialize.
138 static void initialize(Platform*); 140 static void initialize(Platform*);
139 static void shutdown(); 141 static void shutdown();
140 static Platform* current(); 142 static Platform* current();
141 143
142 // Used to switch the current platform only for testing. 144 // Used to switch the current platform only for testing.
143 static void setCurrentPlatformForTesting(Platform*); 145 static void setCurrentPlatformForTesting(Platform*);
144 146
145 // May return null. 147 // May return null.
146 virtual WebCookieJar* cookieJar() { return nullptr; } 148 virtual WebCookieJar* cookieJar() { return nullptr; }
147 149
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 protected: 622 protected:
621 Platform(); 623 Platform();
622 virtual ~Platform() { } 624 virtual ~Platform() { }
623 625
624 WebThread* m_mainThread; 626 WebThread* m_mainThread;
625 }; 627 };
626 628
627 } // namespace blink 629 } // namespace blink
628 630
629 #endif 631 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | third_party/WebKit/public/web/WebKit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698