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

Side by Side Diff: chrome/browser/renderer_host/database_dispatcher_host.cc

Issue 5367006: Refactor: move HostContentSettingsMap to content_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 10 years 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
« no previous file with comments | « chrome/browser/profile_impl.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/renderer_host/database_dispatcher_host.h" 5 #include "chrome/browser/renderer_host/database_dispatcher_host.h"
6 6
7 #if defined(OS_POSIX) 7 #if defined(OS_POSIX)
8 #include "base/file_descriptor_posix.h" 8 #include "base/file_descriptor_posix.h"
9 #endif 9 #endif
10 10
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "base/thread.h" 12 #include "base/thread.h"
13 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/browser_thread.h" 14 #include "chrome/browser/browser_thread.h"
15 #include "chrome/browser/host_content_settings_map.h" 15 #include "chrome/browser/content_settings/host_content_settings_map.h"
16 #include "chrome/browser/net/chrome_url_request_context.h" 16 #include "chrome/browser/net/chrome_url_request_context.h"
17 #include "chrome/browser/renderer_host/browser_render_process_host.h" 17 #include "chrome/browser/renderer_host/browser_render_process_host.h"
18 #include "chrome/common/render_messages.h" 18 #include "chrome/common/render_messages.h"
19 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
20 #include "third_party/sqlite/sqlite3.h" 20 #include "third_party/sqlite/sqlite3.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h" 21 #include "third_party/WebKit/WebKit/chromium/public/WebSecurityOrigin.h"
22 #include "webkit/database/database_util.h" 22 #include "webkit/database/database_util.h"
23 #include "webkit/database/vfs_backend.h" 23 #include "webkit/database/vfs_backend.h"
24 24
25 using WebKit::WebSecurityOrigin; 25 using WebKit::WebSecurityOrigin;
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 database_size, space_available)); 428 database_size, space_available));
429 } 429 }
430 } 430 }
431 431
432 void DatabaseDispatcherHost::OnDatabaseScheduledForDeletion( 432 void DatabaseDispatcherHost::OnDatabaseScheduledForDeletion(
433 const string16& origin_identifier, 433 const string16& origin_identifier,
434 const string16& database_name) { 434 const string16& database_name) {
435 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE)); 435 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
436 Send(new ViewMsg_DatabaseCloseImmediately(origin_identifier, database_name)); 436 Send(new ViewMsg_DatabaseCloseImmediately(origin_identifier, database_name));
437 } 437 }
OLDNEW
« no previous file with comments | « chrome/browser/profile_impl.cc ('k') | chrome/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698