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

Side by Side Diff: chrome/browser/chrome_content_browser_client.h

Issue 944913002: Transfer v8 snapshot files as file descriptors to child processes on Posix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tidy up Created 5 years, 10 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 (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 CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 #endif 329 #endif
330 330
331 // The prerender tracker used to determine whether a render process is used 331 // The prerender tracker used to determine whether a render process is used
332 // for prerendering and an override cookie store must be provided. 332 // for prerendering and an override cookie store must be provided.
333 // This needs to be kept as a member rather than just looked up from 333 // This needs to be kept as a member rather than just looked up from
334 // the profile due to initialization ordering, as well as due to threading. 334 // the profile due to initialization ordering, as well as due to threading.
335 // It is initialized on the UI thread when the ResoureDispatcherHost is 335 // It is initialized on the UI thread when the ResoureDispatcherHost is
336 // created. It is used only the IO thread. 336 // created. It is used only the IO thread.
337 prerender::PrerenderTracker* prerender_tracker_; 337 prerender::PrerenderTracker* prerender_tracker_;
338 338
339 #if defined(OS_POSIX) && !defined(OS_MACOSX)
340 base::ScopedFD v8_natives_fd_;
341 base::ScopedFD v8_snapshot_fd_;
342 #endif // OS_POSIX && !OS_MACOSX
343
339 // Vector of additional ChromeContentBrowserClientParts. 344 // Vector of additional ChromeContentBrowserClientParts.
340 // Parts are deleted in the reverse order they are added. 345 // Parts are deleted in the reverse order they are added.
341 std::vector<ChromeContentBrowserClientParts*> extra_parts_; 346 std::vector<ChromeContentBrowserClientParts*> extra_parts_;
342 347
343 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_; 348 base::WeakPtrFactory<ChromeContentBrowserClient> weak_factory_;
344 349
345 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient); 350 DISALLOW_COPY_AND_ASSIGN(ChromeContentBrowserClient);
346 }; 351 };
347 352
348 } // namespace chrome 353 } // namespace chrome
349 354
350 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_ 355 #endif // CHROME_BROWSER_CHROME_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | content/shell/browser/shell_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698