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

Side by Side Diff: content/browser/appcache/chrome_appcache_service.cc

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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 | 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/appcache/chrome_appcache_service.h" 5 #include "content/browser/appcache/chrome_appcache_service.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "chrome/browser/browser_list.h" 9 #include "chrome/browser/browser_list.h"
10 #include "chrome/browser/net/chrome_url_request_context.h" 10 #include "chrome/browser/net/chrome_url_request_context.h"
11 #include "chrome/common/chrome_constants.h" 11 #include "chrome/common/chrome_constants.h"
12 #include "chrome/common/notification_service.h" 12 #include "content/common/notification_service.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "webkit/appcache/appcache_thread.h" 14 #include "webkit/appcache/appcache_thread.h"
15 15
16 static bool has_initialized_thread_ids; 16 static bool has_initialized_thread_ids;
17 17
18 namespace { 18 namespace {
19 19
20 // Used to defer deleting of local storage until the destructor has finished. 20 // Used to defer deleting of local storage until the destructor has finished.
21 void DeleteLocalStateOnIOThread(FilePath cache_path) { 21 void DeleteLocalStateOnIOThread(FilePath cache_path) {
22 // Post the actual deletion to the DB thread to ensure it happens after the 22 // Post the actual deletion to the DB thread to ensure it happens after the
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 const tracked_objects::Location& from_here, 128 const tracked_objects::Location& from_here,
129 Task* task) { 129 Task* task) {
130 return BrowserThread::PostTask(ToBrowserThreadID(id), from_here, task); 130 return BrowserThread::PostTask(ToBrowserThreadID(id), from_here, task);
131 } 131 }
132 132
133 bool AppCacheThread::CurrentlyOn(int id) { 133 bool AppCacheThread::CurrentlyOn(int id) {
134 return BrowserThread::CurrentlyOn(ToBrowserThreadID(id)); 134 return BrowserThread::CurrentlyOn(ToBrowserThreadID(id));
135 } 135 }
136 136
137 } // namespace appcache 137 } // namespace appcache
OLDNEW
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/browser_child_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698