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

Side by Side Diff: chrome/browser/in_process_webkit/indexed_db_key_utility_client.h

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Property Changes:
Added: svn:eol-style
+ LF
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 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_KEY_UTILITY_CLIENT_H_ 5 #ifndef CHROME_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_KEY_UTILITY_CLIENT_H_
6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_KEY_UTILITY_CLIENT_H_ 6 #define CHROME_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_KEY_UTILITY_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/waitable_event.h" 10 #include "base/synchronization/waitable_event.h"
11 #include "chrome/browser/utility_process_host.h" 11 #include "chrome/browser/utility_process_host.h"
12 12
13 class IndexedDBKey; 13 class IndexedDBKey;
14 class SerializedScriptValue; 14 class SerializedScriptValue;
15 15
16 // This class is responsible to obtain IndexedDBKeys from the 16 // This class is responsible to obtain IndexedDBKeys from the
17 // SerializedScriptValues given an IDBKeyPath. It uses UtilityProcess to do this 17 // SerializedScriptValues given an IDBKeyPath. It uses UtilityProcess to do this
18 // inside a sandbox (a V8 lock is required there). At this level, all methods 18 // inside a sandbox (a V8 lock is required there). At this level, all methods
19 // are synchronous as required by the caller. The public API is used on 19 // are synchronous as required by the caller. The public API is used on
20 // WEBKIT thread, but internally it moves around to UI and IO as needed. 20 // WEBKIT thread, but internally it moves around to UI and IO as needed.
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 std::vector<IndexedDBKey> keys_; 83 std::vector<IndexedDBKey> keys_;
84 84
85 // Used in the IO thread. 85 // Used in the IO thread.
86 UtilityProcessHost* utility_process_host_; 86 UtilityProcessHost* utility_process_host_;
87 scoped_refptr<Client> client_; 87 scoped_refptr<Client> client_;
88 88
89 DISALLOW_COPY_AND_ASSIGN(IndexedDBKeyUtilityClient); 89 DISALLOW_COPY_AND_ASSIGN(IndexedDBKeyUtilityClient);
90 }; 90 };
91 91
92 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_KEY_UTILITY_CLIENT_H_ 92 #endif // CHROME_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_KEY_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/file_path_watcher/file_path_watcher_browsertest.cc ('k') | chrome/browser/net/chrome_net_log_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698