/external/chromium_org/ash/wm/overview/ |
window_selector_unittest.cc | 214 scoped_ptr<test::ShelfViewTestAPI> shelf_view_test_; 223 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); 224 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); 225 scoped_ptr<aura::Window> panel1(CreatePanelWindow(bounds)); 226 scoped_ptr<aura::Window> panel2(CreatePanelWindow(bounds)); 265 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); 266 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); 267 scoped_ptr<aura::Window> panel1(CreatePanelWindow(bounds)); 300 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); 314 scoped_ptr<aura::Window> window1(CreateWindow(bounds)) [all...] |
/external/chromium_org/base/containers/ |
scoped_ptr_hash_map.h | 14 #include "base/memory/scoped_ptr.h" 19 // This type acts like a hash_map<K, scoped_ptr<V> >, based on top of 39 std::pair<Key, const scoped_ptr<Value> > pair) { 45 std::pair<iterator, bool> set(Key key, scoped_ptr<Value> data) { 54 std::pair<iterator, bool> add(Key key, scoped_ptr<Value> data) { 73 scoped_ptr<Value> take(iterator it) { 76 return scoped_ptr<Value>(); 79 scoped_ptr<Value> ret(it->second); 85 scoped_ptr<Value> take(const Key& k) { 88 return scoped_ptr<Value>() [all...] |
/external/chromium_org/cc/test/ |
animation_test_common.cc | 31 scoped_ptr<KeyframedFloatAnimationCurve> 34 scoped_ptr<TimingFunction> func; 40 duration, end_opacity, scoped_ptr<TimingFunction>())); 44 scoped_ptr<Animation> animation(Animation::Create( 60 scoped_ptr<KeyframedTransformAnimationCurve> 67 0.0, start_operations, scoped_ptr<TimingFunction>())); 73 duration, operations, scoped_ptr<TimingFunction>())); 77 scoped_ptr<Animation> animation(Animation::Create( 93 scoped_ptr<KeyframedFilterAnimationCurve> 101 0.0, start_filters, scoped_ptr<TimingFunction>())) [all...] |
/external/chromium_org/cc/trees/ |
tree_synchronizer.cc | 24 scoped_ptr<LayerImpl> layer_impl) { 42 scoped_ptr<LayerImpl> SynchronizeTreesInternal( 44 scoped_ptr<LayerImpl> old_layer_impl_root, 54 scoped_ptr<LayerImpl> new_tree = SynchronizeTreesRecursive( 62 scoped_ptr<LayerImpl> TreeSynchronizer::SynchronizeTrees( 64 scoped_ptr<LayerImpl> old_layer_impl_root, 70 scoped_ptr<LayerImpl> TreeSynchronizer::SynchronizeTrees( 72 scoped_ptr<LayerImpl> old_layer_impl_root, 79 scoped_ptr<LayerImpl> ReuseOrCreateLayerImpl(RawPtrLayerImplMap* new_layers, 83 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id()) [all...] |
/external/chromium_org/remoting/host/setup/ |
me2me_native_messaging_host_unittest.cc | 33 void VerifyHelloResponse(scoped_ptr<base::DictionaryValue> response) { 42 void VerifyGetHostNameResponse(scoped_ptr<base::DictionaryValue> response) { 51 void VerifyGetPinHashResponse(scoped_ptr<base::DictionaryValue> response) { 60 void VerifyGenerateKeyPairResponse(scoped_ptr<base::DictionaryValue> response) { 69 void VerifyGetDaemonConfigResponse(scoped_ptr<base::DictionaryValue> response) { 80 scoped_ptr<base::DictionaryValue> response) { 94 void VerifyStopDaemonResponse(scoped_ptr<base::DictionaryValue> response) { 103 void VerifyGetDaemonStateResponse(scoped_ptr<base::DictionaryValue> response) { 113 scoped_ptr<base::DictionaryValue> response) { 122 void VerifyStartDaemonResponse(scoped_ptr<base::DictionaryValue> response) [all...] |
/external/chromium_org/net/spdy/ |
spdy_stream_unittest.cc | 10 #include "base/memory/scoped_ptr.h" 124 scoped_ptr<SpdyFrame> req( 129 scoped_ptr<SpdyFrame> resp( 133 scoped_ptr<SpdyFrame> msg( 137 scoped_ptr<SpdyFrame> echo( 162 scoped_ptr<SpdyHeaderBlock> headers( 235 scoped_ptr<SpdyFrame> req( 240 scoped_ptr<SpdyFrame> resp( 244 scoped_ptr<SpdyFrame> msg( 248 scoped_ptr<SpdyFrame> echo [all...] |
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/ |
scoped_ptr.h | 10 #include <boost/scoped_ptr.hpp> 11 using boost::scoped_ptr; 16 // implementation of the scoped_ptr class and scoped_ptr_malloc (deprecated). 32 // invokes 'delete'. The default deleter for scoped_ptr<T>. 81 // Never allow someone to declare something like scoped_ptr<int[10]>. 86 // a pointer. Can be used to store malloc-allocated pointers in scoped_ptr: 88 // scoped_ptr<int, base::FreeDeleter> foo_ptr( 96 // Minimal implementation of the core logic of scoped_ptr, suitable for 97 // reuse in both scoped_ptr and its specializations. 144 // dereferences the scoped_ptr when it is destroyed by a call to reset() 215 class scoped_ptr { class in namespace:i18n::phonenumbers 222 scoped_ptr() : impl_(NULL) { } function in class:i18n::phonenumbers::scoped_ptr 225 explicit scoped_ptr(element_type* p) : impl_(p) { } function in class:i18n::phonenumbers::scoped_ptr 228 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { } function in class:i18n::phonenumbers::scoped_ptr 241 scoped_ptr(scoped_ptr<U, V> other) : impl_(&other.impl_) { function in class:i18n::phonenumbers::scoped_ptr 324 class scoped_ptr<T[], D> { class in namespace:i18n::phonenumbers 331 scoped_ptr() : impl_(NULL) { } function in class:i18n::phonenumbers::scoped_ptr 349 explicit scoped_ptr(element_type* array) : impl_(array) { } function in class:i18n::phonenumbers::scoped_ptr [all...] |
/external/chromium_org/remoting/client/ |
audio_player_unittest.cc | 8 #include "base/memory/scoped_ptr.h" 88 scoped_ptr<AudioPlayer> audio_; 89 scoped_ptr<char[]> buffer_; 92 scoped_ptr<AudioPacket> CreatePacketWithSamplingRate( 94 scoped_ptr<AudioPacket> packet(new AudioPacket()); 108 scoped_ptr<AudioPacket> CreatePacket44100Hz(int samples) { 113 scoped_ptr<AudioPacket> CreatePacket48000Hz(int samples) { 121 scoped_ptr<AudioPacket> packet(CreatePacket44100Hz(10)); 127 scoped_ptr<AudioPacket> packet1(CreatePacket44100Hz(10)); 132 scoped_ptr<AudioPacket> packet2(CreatePacket44100Hz(20)) [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/ |
scoped_ptr.h | 6 // https://code.google.com/p/libphonenumber/source/browse/trunk/cpp/src/phonenumbers/base/memory/scoped_ptr.h?r=621 12 // implementation of the scoped_ptr class and scoped_ptr_malloc (deprecated). 28 // invokes 'delete'. The default deleter for scoped_ptr<T>. 77 // Never allow someone to declare something like scoped_ptr<int[10]>. 82 // a pointer. Can be used to store malloc-allocated pointers in scoped_ptr: 84 // scoped_ptr<int, base::FreeDeleter> foo_ptr( 92 // Minimal implementation of the core logic of scoped_ptr, suitable for 93 // reuse in both scoped_ptr and its specializations. 140 // dereferences the scoped_ptr when it is destroyed by a call to reset(), 194 // A scoped_ptr<T> is like a T*, except that the destructor of scoped_ptr<T 211 class scoped_ptr { class in namespace:i18n::addressinput 218 scoped_ptr() : impl_(NULL) { } function in class:i18n::addressinput::scoped_ptr 221 explicit scoped_ptr(element_type* p) : impl_(p) { } function in class:i18n::addressinput::scoped_ptr 224 scoped_ptr(element_type* p, const D& d) : impl_(p, d) { } function in class:i18n::addressinput::scoped_ptr 237 scoped_ptr(scoped_ptr<U, V> other) : impl_(&other.impl_) { function in class:i18n::addressinput::scoped_ptr 320 class scoped_ptr<T[], D> { class in namespace:i18n::addressinput 327 scoped_ptr() : impl_(NULL) { } function in class:i18n::addressinput::scoped_ptr 345 explicit scoped_ptr(element_type* array) : impl_(array) { } function in class:i18n::addressinput::scoped_ptr [all...] |
/external/chromium_org/base/metrics/ |
sparse_histogram_unittest.cc | 7 #include "base/memory/scoped_ptr.h" 40 scoped_ptr<SparseHistogram> NewSparseHistogram(const std::string& name) { 41 return scoped_ptr<SparseHistogram>(new SparseHistogram(name)); 48 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse")); 49 scoped_ptr<HistogramSamples> snapshot(histogram->SnapshotSamples()); 54 scoped_ptr<HistogramSamples> snapshot1(histogram->SnapshotSamples()); 60 scoped_ptr<HistogramSamples> snapshot2(histogram->SnapshotSamples()); 81 scoped_ptr<HistogramSamples> samples = sparse_histogram->SnapshotSamples(); 120 scoped_ptr<SparseHistogram> histogram(NewSparseHistogram("Sparse"));
|
/external/chromium_org/chrome/browser/extensions/api/app_runtime/ |
app_runtime_api.cc | 35 scoped_ptr<base::DictionaryValue> launch_data, 43 scoped_ptr<base::ListValue> args(new base::ListValue()); 47 scoped_ptr<Event> event(new Event(app_runtime::OnLaunched::kEventName, 61 scoped_ptr<base::DictionaryValue> launch_data(new base::DictionaryValue()); 68 scoped_ptr<base::ListValue> arguments(new base::ListValue()); 69 scoped_ptr<Event> event(new Event(app_runtime::OnRestarted::kEventName, 83 scoped_ptr<base::DictionaryValue> launch_data(new base::DictionaryValue); 85 scoped_ptr<base::DictionaryValue> launch_item(new base::DictionaryValue); 90 scoped_ptr<base::ListValue> items(new base::ListValue);
|
/external/chromium_org/chrome/browser/extensions/api/serial/ |
serial_api.h | 75 scoped_ptr<serial::Connect::Params> params_; 101 scoped_ptr<serial::Update::Params> params_; 118 scoped_ptr<serial::Disconnect::Params> params_; 135 scoped_ptr<serial::SetPaused::Params> params_; 153 scoped_ptr<serial::GetInfo::Params> params_; 186 scoped_ptr<serial::Send::Params> params_; 203 scoped_ptr<serial::Flush::Params> params_; 221 scoped_ptr<serial::GetControlSignals::Params> params_; 239 scoped_ptr<serial::SetControlSignals::Params> params_;
|
/external/chromium_org/chrome/browser/extensions/api/signed_in_devices/ |
signed_in_devices_api.cc | 7 #include "base/memory/scoped_ptr.h" 37 scoped_ptr<DictionaryValue> dictionary(new DictionaryValue()); 63 scoped_ptr<DictionaryValue> editable_mapping_dictionary( 89 scoped_ptr<DeviceInfo> GetLocalDeviceInfo(const std::string& extension_id, 93 return scoped_ptr<DeviceInfo>(); 96 scoped_ptr<DeviceInfo> device = GetDeviceInfoForClientId(guid, 103 scoped_ptr<api::signed_in_devices::Get::Params> params( 110 scoped_ptr<DeviceInfo> device = 123 scoped_ptr<base::ListValue> result(new base::ListValue());
|
/external/chromium_org/chrome/browser/local_discovery/ |
privet_notifications.h | 47 scoped_ptr<PrivetHTTPAsynchronousFactory> privet_http_factory, 73 scoped_ptr<PrivetInfoOperation> info_operation; 74 scoped_ptr<PrivetHTTPResolution> privet_http_resolution; 75 scoped_ptr<PrivetHTTPClient> privet_http; 80 void CreateInfoOperation(scoped_ptr<PrivetHTTPClient> http_client); 85 scoped_ptr<PrivetDeviceLister> device_lister_; 86 scoped_ptr<PrivetHTTPAsynchronousFactory> privet_http_factory_; 120 scoped_ptr<PrivetDeviceLister> device_lister_; 123 scoped_ptr<PrivetNotificationsListener> privet_notifications_listener_;
|
/external/chromium_org/chrome/browser/profiles/ |
profile_io_data.h | 14 #include "base/memory/scoped_ptr.h" 109 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory> 230 scoped_ptr<net::HttpTransactionFactory> http_factory); 235 scoped_ptr<net::HttpTransactionFactory> http_factory_; 247 scoped_ptr<net::HttpTransactionFactory> http_factory); 248 void SetJobFactory(scoped_ptr<net::URLRequestJobFactory> job_factory); 254 scoped_ptr<net::HttpTransactionFactory> http_factory_; 255 scoped_ptr<net::URLRequestJobFactory> job_factory_; 271 scoped_ptr<chrome_browser_net::ResourcePrefetchPredictorObserver> 278 scoped_ptr<ProtocolHandlerRegistry::JobInterceptorFactory [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
sync_engine_initializer.h | 9 #include "base/memory/scoped_ptr.h" 70 scoped_ptr<MetadataDatabase> PassMetadataDatabase(); 77 scoped_ptr<MetadataDatabase> instance); 83 scoped_ptr<google_apis::AboutResource> about_resource); 87 scoped_ptr<google_apis::ResourceList> resource_list); 91 scoped_ptr<google_apis::ResourceEntry> entry); 99 scoped_ptr<google_apis::ResourceList> resource_list); 113 scoped_ptr<MetadataDatabase> metadata_database_; 119 scoped_ptr<google_apis::ResourceEntry> sync_root_folder_;
|
/external/chromium_org/chrome/browser/sync_file_system/ |
sync_task_manager.h | 12 #include "base/memory/scoped_ptr.h" 62 void ScheduleSyncTask(scoped_ptr<SyncTask> task, 69 void ScheduleSyncTaskAtPriority(scoped_ptr<SyncTask> task, 76 bool ScheduleSyncTaskIfIdle(scoped_ptr<SyncTask> task, 79 void NotifyTaskDone(scoped_ptr<TaskToken> token, 99 scoped_ptr<TaskToken> GetToken(const tracked_objects::Location& from_here); 104 scoped_ptr<TaskToken> token, 112 scoped_ptr<SyncTask> running_task_; 124 scoped_ptr<TaskToken> token_;
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
bookmark_bubble_sign_in_delegate_unittest.cc | 8 #include "base/memory/scoped_ptr.h" 52 scoped_ptr<BookmarkBubbleDelegate> delegate; 69 scoped_ptr<TestingProfile> incognito_profile = 74 scoped_ptr<BrowserWindow> incognito_window; 79 scoped_ptr<Browser> incognito_browser; 86 scoped_ptr<BookmarkBubbleDelegate> delegate; 111 scoped_ptr<BrowserWindow> extra_window; 117 scoped_ptr<Browser> extra_browser; 122 scoped_ptr<BookmarkBubbleDelegate> delegate;
|
/external/chromium_org/chrome/browser/value_store/ |
value_store_frontend_unittest.cc | 7 #include "base/memory/scoped_ptr.h" 46 bool Get(const std::string& key, scoped_ptr<base::Value>* output) { 54 void GetAndWait(scoped_ptr<base::Value>* output, 55 scoped_ptr<base::Value> result) { 60 scoped_ptr<ValueStoreFrontend> storage_; 69 scoped_ptr<base::Value> value; 90 scoped_ptr<base::Value>(base::Value::CreateIntegerValue(0))); 92 scoped_ptr<base::Value>(base::Value::CreateStringValue("new1"))); 98 scoped_ptr<base::Value> value;
|
/external/chromium_org/components/dom_distiller/core/ |
dom_distiller_database.h | 14 #include "base/memory/scoped_ptr.h" 40 typedef base::Callback<void(bool success, scoped_ptr<EntryVector>)> 53 virtual void UpdateEntries(scoped_ptr<EntryVector> entries_to_save, 54 scoped_ptr<EntryVector> entries_to_remove, 90 scoped_ptr<leveldb::DB> db_; 101 virtual void UpdateEntries(scoped_ptr<EntryVector> entries_to_save, 102 scoped_ptr<EntryVector> entries_to_remove, 107 void InitWithDatabase(scoped_ptr<Database> database, 117 scoped_ptr<Database> db_;
|
/external/chromium_org/content/browser/indexed_db/ |
indexed_db_fake_backing_store.cc | 7 #include "base/memory/scoped_ptr.h" 110 scoped_ptr<IndexedDBBackingStore::Cursor> 117 return scoped_ptr<IndexedDBBackingStore::Cursor>(); 119 scoped_ptr<IndexedDBBackingStore::Cursor> 126 return scoped_ptr<IndexedDBBackingStore::Cursor>(); 128 scoped_ptr<IndexedDBBackingStore::Cursor> 136 return scoped_ptr<IndexedDBBackingStore::Cursor>(); 138 scoped_ptr<IndexedDBBackingStore::Cursor> 146 return scoped_ptr<IndexedDBBackingStore::Cursor>();
|
/external/chromium_org/content/renderer/media/crypto/ |
content_decryption_module_factory.cc | 48 static scoped_ptr<media::MediaKeys> CreatePpapiDecryptor( 67 return scoped_ptr<media::MediaKeys>(); 70 scoped_ptr<PpapiDecryptor> decryptor = 84 return scoped_ptr<media::MediaKeys>(decryptor.Pass()); 94 scoped_ptr<media::MediaKeys> ContentDecryptionModuleFactory::Create( 111 return scoped_ptr<media::MediaKeys>( 123 return scoped_ptr<media::MediaKeys>(); 135 scoped_ptr<ProxyMediaKeys> proxy_media_keys( 146 return scoped_ptr<media::MediaKeys>();
|
/external/chromium_org/net/socket/ |
client_socket_factory.cc | 70 virtual scoped_ptr<DatagramClientSocket> CreateDatagramClientSocket( 75 return scoped_ptr<DatagramClientSocket>( 79 virtual scoped_ptr<StreamSocket> CreateTransportClientSocket( 83 return scoped_ptr<StreamSocket>( 87 virtual scoped_ptr<SSLClientSocket> CreateSSLClientSocket( 88 scoped_ptr<ClientSocketHandle> transport_socket, 107 return scoped_ptr<SSLClientSocket>( 111 return scoped_ptr<SSLClientSocket>( 119 return scoped_ptr<SSLClientSocket>();
|
/external/chromium_org/ppapi/shared_impl/ |
thread_aware_callback_unittest.cc | 10 #include "base/memory/scoped_ptr.h" 104 scoped_ptr<ThreadAwareCallback<CallbackFunc> > main_thread_callback_; 156 scoped_ptr<ThreadAwareCallback<CallbackFunc> > main_thread_callback_; 173 scoped_ptr<ThreadAwareCallback<FuncType_0> > callback_0( 178 scoped_ptr<ThreadAwareCallback<FuncType_1> > callback_1( 183 scoped_ptr<ThreadAwareCallback<FuncType_2> > callback_2( 188 scoped_ptr<ThreadAwareCallback<FuncType_3> > callback_3( 193 scoped_ptr<ThreadAwareCallback<FuncType_4> > callback_4( 202 scoped_ptr<ThreadAwareCallback<FuncType_5> > callback_5(
|
/external/chromium_org/remoting/protocol/ |
content_description_unittest.cc | 19 scoped_ptr<CandidateSessionConfig> config = 23 scoped_ptr<buzz::XmlElement> xml(description.ToXml()); 25 scoped_ptr<ContentDescription> parsed( 49 scoped_ptr<buzz::XmlElement> xml(buzz::XmlElement::ForStr(kTestDescription)); 50 scoped_ptr<ContentDescription> parsed( 72 scoped_ptr<buzz::XmlElement> xml(buzz::XmlElement::ForStr(kTestDescription)); 73 scoped_ptr<ContentDescription> parsed( 92 scoped_ptr<buzz::XmlElement> xml(buzz::XmlElement::ForStr(kTestDescription)); 93 scoped_ptr<ContentDescription> parsed(
|