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

Side by Side Diff: chrome/browser/bookmarks/bookmark_storage.cc

Issue 316016: Move the json-related files into a separate json directory. This hopefully al... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/bookmarks/bookmark_storage.h" 5 #include "chrome/browser/bookmarks/bookmark_storage.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/histogram.h" 9 #include "base/histogram.h"
10 #include "base/json_writer.h"
11 #include "base/message_loop.h" 10 #include "base/message_loop.h"
12 #include "base/thread.h" 11 #include "base/thread.h"
13 #include "base/time.h" 12 #include "base/time.h"
14 #include "chrome/browser/bookmarks/bookmark_codec.h" 13 #include "chrome/browser/bookmarks/bookmark_codec.h"
15 #include "chrome/browser/bookmarks/bookmark_model.h" 14 #include "chrome/browser/bookmarks/bookmark_model.h"
16 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/profile.h" 16 #include "chrome/browser/profile.h"
18 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
19 #include "chrome/common/json_value_serializer.h" 18 #include "chrome/common/json_value_serializer.h"
20 #include "chrome/common/notification_source.h" 19 #include "chrome/common/notification_source.h"
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 } 271 }
273 272
274 void BookmarkStorage::RunTaskOnBackendThread(Task* task) const { 273 void BookmarkStorage::RunTaskOnBackendThread(Task* task) const {
275 if (backend_thread()) { 274 if (backend_thread()) {
276 backend_thread()->message_loop()->PostTask(FROM_HERE, task); 275 backend_thread()->message_loop()->PostTask(FROM_HERE, task);
277 } else { 276 } else {
278 task->Run(); 277 task->Run();
279 delete task; 278 delete task;
280 } 279 }
281 } 280 }
OLDNEW
« no previous file with comments | « chrome/browser/automation/extension_port_container.cc ('k') | chrome/browser/debugger/debugger_remote_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698