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

Side by Side Diff: chrome/browser/in_process_webkit/webkit_context.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
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/in_process_webkit/webkit_context.h" 5 #include "chrome/browser/in_process_webkit/webkit_context.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/browser_thread.h" 8 #include "chrome/browser/browser_thread.h"
9 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
11 11
12 WebKitContext::WebKitContext(Profile* profile, bool clear_local_state_on_exit) 12 WebKitContext::WebKitContext(Profile* profile, bool clear_local_state_on_exit)
13 : data_path_(profile->IsOffTheRecord() ? FilePath() : profile->GetPath()), 13 : data_path_(profile->IsOffTheRecord() ? FilePath() : profile->GetPath()),
14 is_incognito_(profile->IsOffTheRecord()), 14 is_incognito_(profile->IsOffTheRecord()),
15 clear_local_state_on_exit_(clear_local_state_on_exit), 15 clear_local_state_on_exit_(clear_local_state_on_exit),
16 ALLOW_THIS_IN_INITIALIZER_LIST( 16 ALLOW_THIS_IN_INITIALIZER_LIST(
17 dom_storage_context_(new DOMStorageContext(this))), 17 dom_storage_context_(new DOMStorageContext(this))),
18 ALLOW_THIS_IN_INITIALIZER_LIST( 18 ALLOW_THIS_IN_INITIALIZER_LIST(
19 indexed_db_context_(new IndexedDBContext(this))) { 19 indexed_db_context_(new IndexedDBContext(this))) {
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 BrowserThread::PostTask( 76 BrowserThread::PostTask(
77 BrowserThread::WEBKIT, FROM_HERE, 77 BrowserThread::WEBKIT, FROM_HERE,
78 NewRunnableMethod(this, &WebKitContext::DeleteSessionStorageNamespace, 78 NewRunnableMethod(this, &WebKitContext::DeleteSessionStorageNamespace,
79 session_storage_namespace_id)); 79 session_storage_namespace_id));
80 return; 80 return;
81 } 81 }
82 82
83 dom_storage_context_->DeleteSessionStorageNamespace( 83 dom_storage_context_->DeleteSessionStorageNamespace(
84 session_storage_namespace_id); 84 session_storage_namespace_id);
85 } 85 }
OLDNEW
« no previous file with comments | « chrome/browser/in_process_webkit/session_storage_namespace.cc ('k') | chrome/browser/instant/instant_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698