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

Side by Side Diff: content/browser/renderer_host/render_view_host.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With this patchset, Chrome runs and exits normally on Linux. Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/renderer_host/render_view_host.h" 5 #include "content/browser/renderer_host/render_view_host.h"
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/i18n/rtl.h" 12 #include "base/i18n/rtl.h"
13 #include "base/json/json_reader.h" 13 #include "base/json/json_reader.h"
14 #include "base/message_loop.h"
14 #include "base/stl_util.h" 15 #include "base/stl_util.h"
15 #include "base/string_util.h" 16 #include "base/string_util.h"
16 #include "base/time.h" 17 #include "base/time.h"
17 #include "base/utf_string_conversions.h" 18 #include "base/utf_string_conversions.h"
18 #include "base/values.h" 19 #include "base/values.h"
19 #include "content/browser/browser_context.h" 20 #include "content/browser/browser_context.h"
20 #include "content/browser/browser_message_filter.h" 21 #include "content/browser/browser_message_filter.h"
21 #include "content/browser/child_process_security_policy.h" 22 #include "content/browser/child_process_security_policy.h"
22 #include "content/browser/cross_site_request_manager.h" 23 #include "content/browser/cross_site_request_manager.h"
23 #include "content/browser/host_zoom_map.h" 24 #include "content/browser/host_zoom_map.h"
(...skipping 1474 matching lines...) Expand 10 before | Expand all | Expand 10 after
1498 1499
1499 void RenderViewHost::OnWebUISend(const GURL& source_url, 1500 void RenderViewHost::OnWebUISend(const GURL& source_url,
1500 const std::string& name, 1501 const std::string& name,
1501 const base::ListValue& args) { 1502 const base::ListValue& args) {
1502 delegate_->WebUISend(this, source_url, name, args); 1503 delegate_->WebUISend(this, source_url, name, args);
1503 } 1504 }
1504 1505
1505 void RenderViewHost::ClearPowerSaveBlockers() { 1506 void RenderViewHost::ClearPowerSaveBlockers() {
1506 STLDeleteValues(&power_save_blockers_); 1507 STLDeleteValues(&power_save_blockers_);
1507 } 1508 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698